AWS SDK for C++  1.9.104
AWS SDK for C++
InstanceAccessControlAttributeConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
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 SSOAdmin
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::Vector<AccessControlAttribute>& GetAccessControlAttributes() const{ return m_accessControlAttributes; }
47 
52  inline bool AccessControlAttributesHasBeenSet() const { return m_accessControlAttributesHasBeenSet; }
53 
58  inline void SetAccessControlAttributes(const Aws::Vector<AccessControlAttribute>& value) { m_accessControlAttributesHasBeenSet = true; m_accessControlAttributes = value; }
59 
64  inline void SetAccessControlAttributes(Aws::Vector<AccessControlAttribute>&& value) { m_accessControlAttributesHasBeenSet = true; m_accessControlAttributes = std::move(value); }
65 
70  inline InstanceAccessControlAttributeConfiguration& WithAccessControlAttributes(const Aws::Vector<AccessControlAttribute>& value) { SetAccessControlAttributes(value); return *this;}
71 
76  inline InstanceAccessControlAttributeConfiguration& WithAccessControlAttributes(Aws::Vector<AccessControlAttribute>&& value) { SetAccessControlAttributes(std::move(value)); return *this;}
77 
82  inline InstanceAccessControlAttributeConfiguration& AddAccessControlAttributes(const AccessControlAttribute& value) { m_accessControlAttributesHasBeenSet = true; m_accessControlAttributes.push_back(value); return *this; }
83 
88  inline InstanceAccessControlAttributeConfiguration& AddAccessControlAttributes(AccessControlAttribute&& value) { m_accessControlAttributesHasBeenSet = true; m_accessControlAttributes.push_back(std::move(value)); return *this; }
89 
90  private:
91 
92  Aws::Vector<AccessControlAttribute> m_accessControlAttributes;
93  bool m_accessControlAttributesHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace SSOAdmin
98 } // namespace Aws
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::AccessControlAttributesHasBeenSet
bool AccessControlAttributesHasBeenSet() const
Definition: InstanceAccessControlAttributeConfiguration.h:52
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::SetAccessControlAttributes
void SetAccessControlAttributes(Aws::Vector< AccessControlAttribute > &&value)
Definition: InstanceAccessControlAttributeConfiguration.h:64
Aws::SSOAdmin::Model::AccessControlAttribute
Definition: AccessControlAttribute.h:39
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::InstanceAccessControlAttributeConfiguration
InstanceAccessControlAttributeConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::InstanceAccessControlAttributeConfiguration
InstanceAccessControlAttributeConfiguration()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration
Definition: InstanceAccessControlAttributeConfiguration.h:34
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
AWSVector.h
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::GetAccessControlAttributes
const Aws::Vector< AccessControlAttribute > & GetAccessControlAttributes() const
Definition: InstanceAccessControlAttributeConfiguration.h:46
SSOAdmin_EXPORTS.h
AccessControlAttribute.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::SetAccessControlAttributes
void SetAccessControlAttributes(const Aws::Vector< AccessControlAttribute > &value)
Definition: InstanceAccessControlAttributeConfiguration.h:58
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::AddAccessControlAttributes
InstanceAccessControlAttributeConfiguration & AddAccessControlAttributes(const AccessControlAttribute &value)
Definition: InstanceAccessControlAttributeConfiguration.h:82
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::WithAccessControlAttributes
InstanceAccessControlAttributeConfiguration & WithAccessControlAttributes(Aws::Vector< AccessControlAttribute > &&value)
Definition: InstanceAccessControlAttributeConfiguration.h:76
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::AddAccessControlAttributes
InstanceAccessControlAttributeConfiguration & AddAccessControlAttributes(AccessControlAttribute &&value)
Definition: InstanceAccessControlAttributeConfiguration.h:88
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::operator=
InstanceAccessControlAttributeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration::WithAccessControlAttributes
InstanceAccessControlAttributeConfiguration & WithAccessControlAttributes(const Aws::Vector< AccessControlAttribute > &value)
Definition: InstanceAccessControlAttributeConfiguration.h:70