AWS SDK for C++  1.9.104
AWS SDK for C++
InstanceMetadata.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 SSOAdmin
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
47  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
48 
56  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
57 
65  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
66 
74  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
75 
83  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
84 
92  inline InstanceMetadata& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
93 
101  inline InstanceMetadata& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
102 
110  inline InstanceMetadata& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
111 
112 
117  inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
118 
123  inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
124 
129  inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
130 
135  inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
136 
141  inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
142 
147  inline InstanceMetadata& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
148 
153  inline InstanceMetadata& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
154 
159  inline InstanceMetadata& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
160 
161  private:
162 
163  Aws::String m_instanceArn;
164  bool m_instanceArnHasBeenSet;
165 
166  Aws::String m_identityStoreId;
167  bool m_identityStoreIdHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace SSOAdmin
172 } // namespace Aws
Aws::SSOAdmin::Model::InstanceMetadata::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: InstanceMetadata.h:47
Aws::SSOAdmin::Model::InstanceMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSOAdmin::Model::InstanceMetadata::SetIdentityStoreId
void SetIdentityStoreId(const char *value)
Definition: InstanceMetadata.h:141
Aws::SSOAdmin::Model::InstanceMetadata::IdentityStoreIdHasBeenSet
bool IdentityStoreIdHasBeenSet() const
Definition: InstanceMetadata.h:123
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::InstanceMetadata::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: InstanceMetadata.h:74
Aws::SSOAdmin::Model::InstanceMetadata::WithInstanceArn
InstanceMetadata & WithInstanceArn(const Aws::String &value)
Definition: InstanceMetadata.h:92
Aws::SSOAdmin::Model::InstanceMetadata::WithIdentityStoreId
InstanceMetadata & WithIdentityStoreId(const char *value)
Definition: InstanceMetadata.h:159
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::InstanceMetadata::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: InstanceMetadata.h:56
Aws::SSOAdmin::Model::InstanceMetadata::SetIdentityStoreId
void SetIdentityStoreId(Aws::String &&value)
Definition: InstanceMetadata.h:135
Aws::SSOAdmin::Model::InstanceMetadata::InstanceMetadata
InstanceMetadata()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SSOAdmin::Model::InstanceMetadata::SetIdentityStoreId
void SetIdentityStoreId(const Aws::String &value)
Definition: InstanceMetadata.h:129
Aws::SSOAdmin::Model::InstanceMetadata::WithInstanceArn
InstanceMetadata & WithInstanceArn(const char *value)
Definition: InstanceMetadata.h:110
Aws::SSOAdmin::Model::InstanceMetadata::WithIdentityStoreId
InstanceMetadata & WithIdentityStoreId(const Aws::String &value)
Definition: InstanceMetadata.h:147
Aws::SSOAdmin::Model::InstanceMetadata::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: InstanceMetadata.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::InstanceMetadata::operator=
InstanceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::InstanceMetadata
Definition: InstanceMetadata.h:32
Aws::SSOAdmin::Model::InstanceMetadata::GetIdentityStoreId
const Aws::String & GetIdentityStoreId() const
Definition: InstanceMetadata.h:117
Aws::SSOAdmin::Model::InstanceMetadata::WithIdentityStoreId
InstanceMetadata & WithIdentityStoreId(Aws::String &&value)
Definition: InstanceMetadata.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::InstanceMetadata::InstanceMetadata
InstanceMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::InstanceMetadata::WithInstanceArn
InstanceMetadata & WithInstanceArn(Aws::String &&value)
Definition: InstanceMetadata.h:101
Aws::SSOAdmin::Model::InstanceMetadata::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: InstanceMetadata.h:83