-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have added the ability to tag resources after they are created
- Loading branch information
1 parent
88963a1
commit 013587c
Showing
20 changed files
with
1,337 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.273 | ||
1.11.274 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
...-cpp-sdk-amplifyuibuilder/include/aws/amplifyuibuilder/model/ListTagsForResourceRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h> | ||
#include <aws/amplifyuibuilder/AmplifyUIBuilderRequest.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace AmplifyUIBuilder | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
*/ | ||
class ListTagsForResourceRequest : public AmplifyUIBuilderRequest | ||
{ | ||
public: | ||
AWS_AMPLIFYUIBUILDER_API ListTagsForResourceRequest(); | ||
|
||
// Service request name is the Operation name which will send this request out, | ||
// each operation should has unique request name, so that we can get operation's name from this request. | ||
// Note: this is not true for response, multiple operations may have the same response name, | ||
// so we can not get operation's name from response. | ||
inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; } | ||
|
||
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override; | ||
|
||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p>The Amazon Resource Name (ARN) to use to list tags.</p> | ||
*/ | ||
inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} | ||
|
||
private: | ||
|
||
Aws::String m_resourceArn; | ||
bool m_resourceArnHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace AmplifyUIBuilder | ||
} // namespace Aws |
127 changes: 127 additions & 0 deletions
127
...s-cpp-sdk-amplifyuibuilder/include/aws/amplifyuibuilder/model/ListTagsForResourceResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSMap.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
template<typename RESULT_TYPE> | ||
class AmazonWebServiceResult; | ||
|
||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace AmplifyUIBuilder | ||
{ | ||
namespace Model | ||
{ | ||
class ListTagsForResourceResult | ||
{ | ||
public: | ||
AWS_AMPLIFYUIBUILDER_API ListTagsForResourceResult(); | ||
AWS_AMPLIFYUIBUILDER_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | ||
AWS_AMPLIFYUIBUILDER_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | ||
|
||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;} | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } | ||
|
||
/** | ||
* <p>A list of tag key value pairs for a specified Amazon Resource Name (ARN).</p> | ||
*/ | ||
inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } | ||
|
||
|
||
|
||
inline const Aws::String& GetRequestId() const{ return m_requestId; } | ||
|
||
|
||
inline void SetRequestId(const Aws::String& value) { m_requestId = value; } | ||
|
||
|
||
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } | ||
|
||
|
||
inline void SetRequestId(const char* value) { m_requestId.assign(value); } | ||
|
||
|
||
inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} | ||
|
||
|
||
inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} | ||
|
||
|
||
inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} | ||
|
||
private: | ||
|
||
Aws::Map<Aws::String, Aws::String> m_tags; | ||
|
||
Aws::String m_requestId; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace AmplifyUIBuilder | ||
} // namespace Aws |
Oops, something went wrong.