AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EFSAuthorizationConfig.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/EFSAuthorizationConfigIAM.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
53 inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; }
54 inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
55 inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; }
56 inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); }
57 inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); }
58 inline EFSAuthorizationConfig& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;}
59 inline EFSAuthorizationConfig& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;}
60 inline EFSAuthorizationConfig& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;}
62
64
74 inline const EFSAuthorizationConfigIAM& GetIam() const{ return m_iam; }
75 inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
76 inline void SetIam(const EFSAuthorizationConfigIAM& value) { m_iamHasBeenSet = true; m_iam = value; }
77 inline void SetIam(EFSAuthorizationConfigIAM&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); }
78 inline EFSAuthorizationConfig& WithIam(const EFSAuthorizationConfigIAM& value) { SetIam(value); return *this;}
79 inline EFSAuthorizationConfig& WithIam(EFSAuthorizationConfigIAM&& value) { SetIam(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_accessPointId;
84 bool m_accessPointIdHasBeenSet = false;
85
87 bool m_iamHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ECS
92} // namespace Aws
EFSAuthorizationConfig & WithAccessPointId(Aws::String &&value)
EFSAuthorizationConfig & WithIam(const EFSAuthorizationConfigIAM &value)
EFSAuthorizationConfig & WithAccessPointId(const Aws::String &value)
void SetAccessPointId(const Aws::String &value)
AWS_ECS_API EFSAuthorizationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetIam(EFSAuthorizationConfigIAM &&value)
const EFSAuthorizationConfigIAM & GetIam() const
EFSAuthorizationConfig & WithAccessPointId(const char *value)
EFSAuthorizationConfig & WithIam(EFSAuthorizationConfigIAM &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API EFSAuthorizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIam(const EFSAuthorizationConfigIAM &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue