AWS SDK for C++  1.9.129
AWS SDK for C++
CreateRoleAliasResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetRoleAlias() const{ return m_roleAlias; }
39 
43  inline void SetRoleAlias(const Aws::String& value) { m_roleAlias = value; }
44 
48  inline void SetRoleAlias(Aws::String&& value) { m_roleAlias = std::move(value); }
49 
53  inline void SetRoleAlias(const char* value) { m_roleAlias.assign(value); }
54 
58  inline CreateRoleAliasResult& WithRoleAlias(const Aws::String& value) { SetRoleAlias(value); return *this;}
59 
63  inline CreateRoleAliasResult& WithRoleAlias(Aws::String&& value) { SetRoleAlias(std::move(value)); return *this;}
64 
68  inline CreateRoleAliasResult& WithRoleAlias(const char* value) { SetRoleAlias(value); return *this;}
69 
70 
74  inline const Aws::String& GetRoleAliasArn() const{ return m_roleAliasArn; }
75 
79  inline void SetRoleAliasArn(const Aws::String& value) { m_roleAliasArn = value; }
80 
84  inline void SetRoleAliasArn(Aws::String&& value) { m_roleAliasArn = std::move(value); }
85 
89  inline void SetRoleAliasArn(const char* value) { m_roleAliasArn.assign(value); }
90 
94  inline CreateRoleAliasResult& WithRoleAliasArn(const Aws::String& value) { SetRoleAliasArn(value); return *this;}
95 
99  inline CreateRoleAliasResult& WithRoleAliasArn(Aws::String&& value) { SetRoleAliasArn(std::move(value)); return *this;}
100 
104  inline CreateRoleAliasResult& WithRoleAliasArn(const char* value) { SetRoleAliasArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_roleAlias;
109 
110  Aws::String m_roleAliasArn;
111  };
112 
113 } // namespace Model
114 } // namespace IoT
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateRoleAliasResult::CreateRoleAliasResult
CreateRoleAliasResult()
Aws::IoT::Model::CreateRoleAliasResult::WithRoleAlias
CreateRoleAliasResult & WithRoleAlias(Aws::String &&value)
Definition: CreateRoleAliasResult.h:63
Aws::IoT::Model::CreateRoleAliasResult::SetRoleAliasArn
void SetRoleAliasArn(const char *value)
Definition: CreateRoleAliasResult.h:89
Aws::IoT::Model::CreateRoleAliasResult::SetRoleAliasArn
void SetRoleAliasArn(Aws::String &&value)
Definition: CreateRoleAliasResult.h:84
Aws::IoT::Model::CreateRoleAliasResult::GetRoleAliasArn
const Aws::String & GetRoleAliasArn() const
Definition: CreateRoleAliasResult.h:74
Aws::IoT::Model::CreateRoleAliasResult::WithRoleAliasArn
CreateRoleAliasResult & WithRoleAliasArn(const Aws::String &value)
Definition: CreateRoleAliasResult.h:94
Aws::IoT::Model::CreateRoleAliasResult::WithRoleAlias
CreateRoleAliasResult & WithRoleAlias(const Aws::String &value)
Definition: CreateRoleAliasResult.h:58
Aws::IoT::Model::CreateRoleAliasResult::SetRoleAliasArn
void SetRoleAliasArn(const Aws::String &value)
Definition: CreateRoleAliasResult.h:79
Aws::IoT::Model::CreateRoleAliasResult::operator=
CreateRoleAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateRoleAliasResult::WithRoleAliasArn
CreateRoleAliasResult & WithRoleAliasArn(const char *value)
Definition: CreateRoleAliasResult.h:104
AWSString.h
Aws::IoT::Model::CreateRoleAliasResult::SetRoleAlias
void SetRoleAlias(const char *value)
Definition: CreateRoleAliasResult.h:53
Aws::IoT::Model::CreateRoleAliasResult::SetRoleAlias
void SetRoleAlias(Aws::String &&value)
Definition: CreateRoleAliasResult.h:48
Aws::IoT::Model::CreateRoleAliasResult::CreateRoleAliasResult
CreateRoleAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateRoleAliasResult::SetRoleAlias
void SetRoleAlias(const Aws::String &value)
Definition: CreateRoleAliasResult.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateRoleAliasResult::GetRoleAlias
const Aws::String & GetRoleAlias() const
Definition: CreateRoleAliasResult.h:38
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::CreateRoleAliasResult::WithRoleAlias
CreateRoleAliasResult & WithRoleAlias(const char *value)
Definition: CreateRoleAliasResult.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateRoleAliasResult::WithRoleAliasArn
CreateRoleAliasResult & WithRoleAliasArn(Aws::String &&value)
Definition: CreateRoleAliasResult.h:99
Aws::IoT::Model::CreateRoleAliasResult
Definition: CreateRoleAliasResult.h:28
IoT_EXPORTS.h