7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/Tag.h>
46 inline void SetRoleAlias(
const char* value) { m_roleAliasHasBeenSet =
true; m_roleAlias.assign(value); }
60 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
98 bool m_roleAliasHasBeenSet =
false;
101 bool m_roleArnHasBeenSet =
false;
103 int m_credentialDurationSeconds;
104 bool m_credentialDurationSecondsHasBeenSet =
false;
107 bool m_tagsHasBeenSet =
false;
CreateRoleAliasRequest & WithTags(Aws::Vector< Tag > &&value)
CreateRoleAliasRequest & AddTags(const Tag &value)
CreateRoleAliasRequest & WithRoleAlias(const Aws::String &value)
const Aws::String & GetRoleAlias() const
void SetRoleArn(Aws::String &&value)
CreateRoleAliasRequest & WithRoleArn(const Aws::String &value)
CreateRoleAliasRequest & WithRoleArn(Aws::String &&value)
CreateRoleAliasRequest & WithRoleAlias(Aws::String &&value)
bool CredentialDurationSecondsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateRoleAliasRequest & WithRoleAlias(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateRoleAliasRequest & AddTags(Tag &&value)
CreateRoleAliasRequest & WithRoleArn(const char *value)
CreateRoleAliasRequest & WithCredentialDurationSeconds(int value)
void SetRoleAlias(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetRoleArn() const
void SetRoleAlias(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
bool RoleAliasHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
void SetCredentialDurationSeconds(int value)
void SetRoleArn(const char *value)
AWS_IOT_API CreateRoleAliasRequest()
void SetRoleAlias(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
bool TagsHasBeenSet() const
bool RoleArnHasBeenSet() const
int GetCredentialDurationSeconds() const
CreateRoleAliasRequest & WithTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector