7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/Tag.h>
40 template <
typename RoleAliasT = Aws::String>
42 m_roleAliasHasBeenSet =
true;
43 m_roleAlias = std::forward<RoleAliasT>(value);
45 template <
typename RoleAliasT = Aws::String>
58 template <
typename RoleArnT = Aws::String>
60 m_roleArnHasBeenSet =
true;
61 m_roleArn = std::forward<RoleArnT>(value);
63 template <
typename RoleArnT = Aws::String>
79 m_credentialDurationSecondsHasBeenSet =
true;
80 m_credentialDurationSeconds = value;
98 template <
typename TagsT = Aws::Vector<Tag>>
100 m_tagsHasBeenSet =
true;
101 m_tags = std::forward<TagsT>(value);
103 template <
typename TagsT = Aws::Vector<Tag>>
105 SetTags(std::forward<TagsT>(value));
108 template <
typename TagsT = Tag>
110 m_tagsHasBeenSet =
true;
111 m_tags.emplace_back(std::forward<TagsT>(value));
120 int m_credentialDurationSeconds{0};
123 bool m_roleAliasHasBeenSet =
false;
124 bool m_roleArnHasBeenSet =
false;
125 bool m_credentialDurationSecondsHasBeenSet =
false;
126 bool m_tagsHasBeenSet =
false;
const Aws::String & GetRoleAlias() const
void SetRoleAlias(RoleAliasT &&value)
CreateRoleAliasRequest & WithRoleAlias(RoleAliasT &&value)
CreateRoleAliasRequest & AddTags(TagsT &&value)
CreateRoleAliasRequest & WithTags(TagsT &&value)
bool CredentialDurationSecondsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetRoleArn(RoleArnT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_IOT_API CreateRoleAliasRequest()=default
CreateRoleAliasRequest & WithCredentialDurationSeconds(int value)
const Aws::String & GetRoleArn() const
bool RoleAliasHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
CreateRoleAliasRequest & WithRoleArn(RoleArnT &&value)
void SetCredentialDurationSeconds(int value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
bool RoleArnHasBeenSet() const
int GetCredentialDurationSeconds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector