AWS SDK for C++  1.9.108
AWS SDK for C++
AwsIamPermissionsBoundary.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 SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetPermissionsBoundaryArn() const{ return m_permissionsBoundaryArn; }
45 
49  inline bool PermissionsBoundaryArnHasBeenSet() const { return m_permissionsBoundaryArnHasBeenSet; }
50 
54  inline void SetPermissionsBoundaryArn(const Aws::String& value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn = value; }
55 
59  inline void SetPermissionsBoundaryArn(Aws::String&& value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn = std::move(value); }
60 
64  inline void SetPermissionsBoundaryArn(const char* value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn.assign(value); }
65 
69  inline AwsIamPermissionsBoundary& WithPermissionsBoundaryArn(const Aws::String& value) { SetPermissionsBoundaryArn(value); return *this;}
70 
74  inline AwsIamPermissionsBoundary& WithPermissionsBoundaryArn(Aws::String&& value) { SetPermissionsBoundaryArn(std::move(value)); return *this;}
75 
79  inline AwsIamPermissionsBoundary& WithPermissionsBoundaryArn(const char* value) { SetPermissionsBoundaryArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetPermissionsBoundaryType() const{ return m_permissionsBoundaryType; }
86 
90  inline bool PermissionsBoundaryTypeHasBeenSet() const { return m_permissionsBoundaryTypeHasBeenSet; }
91 
95  inline void SetPermissionsBoundaryType(const Aws::String& value) { m_permissionsBoundaryTypeHasBeenSet = true; m_permissionsBoundaryType = value; }
96 
100  inline void SetPermissionsBoundaryType(Aws::String&& value) { m_permissionsBoundaryTypeHasBeenSet = true; m_permissionsBoundaryType = std::move(value); }
101 
105  inline void SetPermissionsBoundaryType(const char* value) { m_permissionsBoundaryTypeHasBeenSet = true; m_permissionsBoundaryType.assign(value); }
106 
110  inline AwsIamPermissionsBoundary& WithPermissionsBoundaryType(const Aws::String& value) { SetPermissionsBoundaryType(value); return *this;}
111 
115  inline AwsIamPermissionsBoundary& WithPermissionsBoundaryType(Aws::String&& value) { SetPermissionsBoundaryType(std::move(value)); return *this;}
116 
120  inline AwsIamPermissionsBoundary& WithPermissionsBoundaryType(const char* value) { SetPermissionsBoundaryType(value); return *this;}
121 
122  private:
123 
124  Aws::String m_permissionsBoundaryArn;
125  bool m_permissionsBoundaryArnHasBeenSet;
126 
127  Aws::String m_permissionsBoundaryType;
128  bool m_permissionsBoundaryTypeHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SecurityHub
133 } // namespace Aws
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::WithPermissionsBoundaryType
AwsIamPermissionsBoundary & WithPermissionsBoundaryType(Aws::String &&value)
Definition: AwsIamPermissionsBoundary.h:115
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::SetPermissionsBoundaryArn
void SetPermissionsBoundaryArn(Aws::String &&value)
Definition: AwsIamPermissionsBoundary.h:59
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::GetPermissionsBoundaryType
const Aws::String & GetPermissionsBoundaryType() const
Definition: AwsIamPermissionsBoundary.h:85
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::WithPermissionsBoundaryType
AwsIamPermissionsBoundary & WithPermissionsBoundaryType(const Aws::String &value)
Definition: AwsIamPermissionsBoundary.h:110
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::SetPermissionsBoundaryType
void SetPermissionsBoundaryType(Aws::String &&value)
Definition: AwsIamPermissionsBoundary.h:100
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::WithPermissionsBoundaryArn
AwsIamPermissionsBoundary & WithPermissionsBoundaryArn(const Aws::String &value)
Definition: AwsIamPermissionsBoundary.h:69
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::PermissionsBoundaryTypeHasBeenSet
bool PermissionsBoundaryTypeHasBeenSet() const
Definition: AwsIamPermissionsBoundary.h:90
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::PermissionsBoundaryArnHasBeenSet
bool PermissionsBoundaryArnHasBeenSet() const
Definition: AwsIamPermissionsBoundary.h:49
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::operator=
AwsIamPermissionsBoundary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::AwsIamPermissionsBoundary
AwsIamPermissionsBoundary()
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::WithPermissionsBoundaryArn
AwsIamPermissionsBoundary & WithPermissionsBoundaryArn(Aws::String &&value)
Definition: AwsIamPermissionsBoundary.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::WithPermissionsBoundaryType
AwsIamPermissionsBoundary & WithPermissionsBoundaryType(const char *value)
Definition: AwsIamPermissionsBoundary.h:120
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::GetPermissionsBoundaryArn
const Aws::String & GetPermissionsBoundaryArn() const
Definition: AwsIamPermissionsBoundary.h:44
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::SetPermissionsBoundaryType
void SetPermissionsBoundaryType(const char *value)
Definition: AwsIamPermissionsBoundary.h:105
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::SetPermissionsBoundaryArn
void SetPermissionsBoundaryArn(const char *value)
Definition: AwsIamPermissionsBoundary.h:64
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::AwsIamPermissionsBoundary
AwsIamPermissionsBoundary(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::WithPermissionsBoundaryArn
AwsIamPermissionsBoundary & WithPermissionsBoundaryArn(const char *value)
Definition: AwsIamPermissionsBoundary.h:79
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::SetPermissionsBoundaryType
void SetPermissionsBoundaryType(const Aws::String &value)
Definition: AwsIamPermissionsBoundary.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsIamPermissionsBoundary::SetPermissionsBoundaryArn
void SetPermissionsBoundaryArn(const Aws::String &value)
Definition: AwsIamPermissionsBoundary.h:54
Aws::SecurityHub::Model::AwsIamPermissionsBoundary
Definition: AwsIamPermissionsBoundary.h:33