AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EFSAuthorizationConfig.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/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 Batch
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BATCH_API EFSAuthorizationConfig() = default;
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const Aws::String& GetAccessPointId() const { return m_accessPointId; }
54 inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
55 template<typename AccessPointIdT = Aws::String>
56 void SetAccessPointId(AccessPointIdT&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::forward<AccessPointIdT>(value); }
57 template<typename AccessPointIdT = Aws::String>
58 EFSAuthorizationConfig& WithAccessPointId(AccessPointIdT&& value) { SetAccessPointId(std::forward<AccessPointIdT>(value)); return *this;}
60
62
73 inline EFSAuthorizationConfigIAM GetIam() const { return m_iam; }
74 inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
75 inline void SetIam(EFSAuthorizationConfigIAM value) { m_iamHasBeenSet = true; m_iam = value; }
76 inline EFSAuthorizationConfig& WithIam(EFSAuthorizationConfigIAM value) { SetIam(value); return *this;}
78 private:
79
80 Aws::String m_accessPointId;
81 bool m_accessPointIdHasBeenSet = false;
82
84 bool m_iamHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Batch
89} // namespace Aws
AWS_BATCH_API EFSAuthorizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIam(EFSAuthorizationConfigIAM value)
EFSAuthorizationConfig & WithIam(EFSAuthorizationConfigIAM value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API EFSAuthorizationConfig(Aws::Utils::Json::JsonView jsonValue)
EFSAuthorizationConfigIAM GetIam() const
AWS_BATCH_API EFSAuthorizationConfig()=default
EFSAuthorizationConfig & WithAccessPointId(AccessPointIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue