AWS SDK for C++  1.9.153
AWS SDK for C++
IAMRoleIdentity.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTSiteWise
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetArn() const{ return m_arn; }
49 
55  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 
62  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 
69  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
70 
76  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
77 
83  inline IAMRoleIdentity& WithArn(const Aws::String& value) { SetArn(value); return *this;}
84 
90  inline IAMRoleIdentity& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
91 
97  inline IAMRoleIdentity& WithArn(const char* value) { SetArn(value); return *this;}
98 
99  private:
100 
101  Aws::String m_arn;
102  bool m_arnHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace IoTSiteWise
107 } // namespace Aws
Aws::IoTSiteWise::Model::IAMRoleIdentity::IAMRoleIdentity
IAMRoleIdentity()
Aws::IoTSiteWise::Model::IAMRoleIdentity::GetArn
const Aws::String & GetArn() const
Definition: IAMRoleIdentity.h:48
Aws::IoTSiteWise::Model::IAMRoleIdentity::WithArn
IAMRoleIdentity & WithArn(const char *value)
Definition: IAMRoleIdentity.h:97
Aws::IoTSiteWise::Model::IAMRoleIdentity::WithArn
IAMRoleIdentity & WithArn(Aws::String &&value)
Definition: IAMRoleIdentity.h:90
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::IAMRoleIdentity
Definition: IAMRoleIdentity.h:35
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::IAMRoleIdentity::operator=
IAMRoleIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::IAMRoleIdentity::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::IAMRoleIdentity::SetArn
void SetArn(Aws::String &&value)
Definition: IAMRoleIdentity.h:69
Aws::IoTSiteWise::Model::IAMRoleIdentity::SetArn
void SetArn(const char *value)
Definition: IAMRoleIdentity.h:76
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::IAMRoleIdentity::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: IAMRoleIdentity.h:55
Aws::IoTSiteWise::Model::IAMRoleIdentity::SetArn
void SetArn(const Aws::String &value)
Definition: IAMRoleIdentity.h:62
Aws::IoTSiteWise::Model::IAMRoleIdentity::IAMRoleIdentity
IAMRoleIdentity(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::IAMRoleIdentity::WithArn
IAMRoleIdentity & WithArn(const Aws::String &value)
Definition: IAMRoleIdentity.h:83