AWS SDK for C++  1.8.129
AWS SDK for C++
IAMUserIdentity.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 
33  {
34  public:
39 
40 
49  inline const Aws::String& GetArn() const{ return m_arn; }
50 
59  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 
69  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
70 
79  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
80 
89  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
90 
99  inline IAMUserIdentity& WithArn(const Aws::String& value) { SetArn(value); return *this;}
100 
109  inline IAMUserIdentity& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
110 
119  inline IAMUserIdentity& WithArn(const char* value) { SetArn(value); return *this;}
120 
121  private:
122 
123  Aws::String m_arn;
124  bool m_arnHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace IoTSiteWise
129 } // namespace Aws
Aws::IoTSiteWise::Model::IAMUserIdentity
Definition: IAMUserIdentity.h:33
Aws::IoTSiteWise::Model::IAMUserIdentity::GetArn
const Aws::String & GetArn() const
Definition: IAMUserIdentity.h:49
Aws::IoTSiteWise::Model::IAMUserIdentity::IAMUserIdentity
IAMUserIdentity(Aws::Utils::Json::JsonView jsonValue)
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::IAMUserIdentity::SetArn
void SetArn(const char *value)
Definition: IAMUserIdentity.h:89
Aws::IoTSiteWise::Model::IAMUserIdentity::operator=
IAMUserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::IAMUserIdentity::SetArn
void SetArn(Aws::String &&value)
Definition: IAMUserIdentity.h:79
Aws::IoTSiteWise::Model::IAMUserIdentity::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::IAMUserIdentity::SetArn
void SetArn(const Aws::String &value)
Definition: IAMUserIdentity.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTSiteWise::Model::IAMUserIdentity::IAMUserIdentity
IAMUserIdentity()
Aws::IoTSiteWise::Model::IAMUserIdentity::WithArn
IAMUserIdentity & WithArn(const char *value)
Definition: IAMUserIdentity.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::IAMUserIdentity::WithArn
IAMUserIdentity & WithArn(const Aws::String &value)
Definition: IAMUserIdentity.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::IAMUserIdentity::WithArn
IAMUserIdentity & WithArn(Aws::String &&value)
Definition: IAMUserIdentity.h:109
Aws::IoTSiteWise::Model::IAMUserIdentity::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: IAMUserIdentity.h:59