AWS SDK for C++  1.9.160
AWS SDK for C++
EFSAuthorizationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ECS
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
52  inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; }
53 
64  inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
65 
76  inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; }
77 
88  inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); }
89 
100  inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); }
101 
112  inline EFSAuthorizationConfig& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;}
113 
124  inline EFSAuthorizationConfig& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;}
125 
136  inline EFSAuthorizationConfig& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;}
137 
138 
149  inline const EFSAuthorizationConfigIAM& GetIam() const{ return m_iam; }
150 
161  inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
162 
173  inline void SetIam(const EFSAuthorizationConfigIAM& value) { m_iamHasBeenSet = true; m_iam = value; }
174 
185  inline void SetIam(EFSAuthorizationConfigIAM&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); }
186 
197  inline EFSAuthorizationConfig& WithIam(const EFSAuthorizationConfigIAM& value) { SetIam(value); return *this;}
198 
209  inline EFSAuthorizationConfig& WithIam(EFSAuthorizationConfigIAM&& value) { SetIam(std::move(value)); return *this;}
210 
211  private:
212 
213  Aws::String m_accessPointId;
214  bool m_accessPointIdHasBeenSet;
215 
217  bool m_iamHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace ECS
222 } // namespace Aws
Aws::ECS::Model::EFSAuthorizationConfig::operator=
EFSAuthorizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::EFSAuthorizationConfig::SetIam
void SetIam(const EFSAuthorizationConfigIAM &value)
Definition: EFSAuthorizationConfig.h:173
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::EFSAuthorizationConfig
Definition: EFSAuthorizationConfig.h:34
Aws::ECS::Model::EFSAuthorizationConfig::GetAccessPointId
const Aws::String & GetAccessPointId() const
Definition: EFSAuthorizationConfig.h:52
Aws::ECS::Model::EFSAuthorizationConfig::WithIam
EFSAuthorizationConfig & WithIam(const EFSAuthorizationConfigIAM &value)
Definition: EFSAuthorizationConfig.h:197
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::EFSAuthorizationConfig::WithAccessPointId
EFSAuthorizationConfig & WithAccessPointId(Aws::String &&value)
Definition: EFSAuthorizationConfig.h:124
Aws::ECS::Model::EFSAuthorizationConfig::SetAccessPointId
void SetAccessPointId(const char *value)
Definition: EFSAuthorizationConfig.h:100
Aws::ECS::Model::EFSAuthorizationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::EFSAuthorizationConfig::SetIam
void SetIam(EFSAuthorizationConfigIAM &&value)
Definition: EFSAuthorizationConfig.h:185
Aws::ECS::Model::EFSAuthorizationConfig::WithIam
EFSAuthorizationConfig & WithIam(EFSAuthorizationConfigIAM &&value)
Definition: EFSAuthorizationConfig.h:209
Aws::ECS::Model::EFSAuthorizationConfigIAM
EFSAuthorizationConfigIAM
Definition: EFSAuthorizationConfigIAM.h:17
EFSAuthorizationConfigIAM.h
Aws::ECS::Model::EFSAuthorizationConfig::EFSAuthorizationConfig
EFSAuthorizationConfig()
Aws::ECS::Model::EFSAuthorizationConfig::WithAccessPointId
EFSAuthorizationConfig & WithAccessPointId(const Aws::String &value)
Definition: EFSAuthorizationConfig.h:112
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ECS::Model::EFSAuthorizationConfig::IamHasBeenSet
bool IamHasBeenSet() const
Definition: EFSAuthorizationConfig.h:161
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::EFSAuthorizationConfig::AccessPointIdHasBeenSet
bool AccessPointIdHasBeenSet() const
Definition: EFSAuthorizationConfig.h:64
Aws::ECS::Model::EFSAuthorizationConfig::GetIam
const EFSAuthorizationConfigIAM & GetIam() const
Definition: EFSAuthorizationConfig.h:149
Aws::ECS::Model::EFSAuthorizationConfig::WithAccessPointId
EFSAuthorizationConfig & WithAccessPointId(const char *value)
Definition: EFSAuthorizationConfig.h:136
Aws::ECS::Model::EFSAuthorizationConfig::EFSAuthorizationConfig
EFSAuthorizationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::EFSAuthorizationConfig::SetAccessPointId
void SetAccessPointId(const Aws::String &value)
Definition: EFSAuthorizationConfig.h:76
Aws::ECS::Model::EFSAuthorizationConfig::SetAccessPointId
void SetAccessPointId(Aws::String &&value)
Definition: EFSAuthorizationConfig.h:88
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
ECS_EXPORTS.h