AWS SDK for C++  1.9.160
AWS SDK for C++
ActiveIAMPolicyAssignment.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 QuickSight
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
45 
49  inline bool AssignmentNameHasBeenSet() const { return m_assignmentNameHasBeenSet; }
50 
54  inline void SetAssignmentName(const Aws::String& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = value; }
55 
59  inline void SetAssignmentName(Aws::String&& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = std::move(value); }
60 
64  inline void SetAssignmentName(const char* value) { m_assignmentNameHasBeenSet = true; m_assignmentName.assign(value); }
65 
69  inline ActiveIAMPolicyAssignment& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
70 
74  inline ActiveIAMPolicyAssignment& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
75 
79  inline ActiveIAMPolicyAssignment& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
80 
81 
85  inline const Aws::String& GetPolicyArn() const{ return m_policyArn; }
86 
90  inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
91 
95  inline void SetPolicyArn(const Aws::String& value) { m_policyArnHasBeenSet = true; m_policyArn = value; }
96 
100  inline void SetPolicyArn(Aws::String&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::move(value); }
101 
105  inline void SetPolicyArn(const char* value) { m_policyArnHasBeenSet = true; m_policyArn.assign(value); }
106 
110  inline ActiveIAMPolicyAssignment& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;}
111 
115  inline ActiveIAMPolicyAssignment& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;}
116 
120  inline ActiveIAMPolicyAssignment& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_assignmentName;
125  bool m_assignmentNameHasBeenSet;
126 
127  Aws::String m_policyArn;
128  bool m_policyArnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace QuickSight
133 } // namespace Aws
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::WithAssignmentName
ActiveIAMPolicyAssignment & WithAssignmentName(const Aws::String &value)
Definition: ActiveIAMPolicyAssignment.h:69
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::WithPolicyArn
ActiveIAMPolicyAssignment & WithPolicyArn(Aws::String &&value)
Definition: ActiveIAMPolicyAssignment.h:115
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: ActiveIAMPolicyAssignment.h:54
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::WithPolicyArn
ActiveIAMPolicyAssignment & WithPolicyArn(const char *value)
Definition: ActiveIAMPolicyAssignment.h:120
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::ActiveIAMPolicyAssignment
ActiveIAMPolicyAssignment(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::SetPolicyArn
void SetPolicyArn(Aws::String &&value)
Definition: ActiveIAMPolicyAssignment.h:100
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::SetPolicyArn
void SetPolicyArn(const char *value)
Definition: ActiveIAMPolicyAssignment.h:105
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: ActiveIAMPolicyAssignment.h:59
Aws::QuickSight::Model::ActiveIAMPolicyAssignment
Definition: ActiveIAMPolicyAssignment.h:33
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: ActiveIAMPolicyAssignment.h:44
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::AssignmentNameHasBeenSet
bool AssignmentNameHasBeenSet() const
Definition: ActiveIAMPolicyAssignment.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::WithPolicyArn
ActiveIAMPolicyAssignment & WithPolicyArn(const Aws::String &value)
Definition: ActiveIAMPolicyAssignment.h:110
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::SetPolicyArn
void SetPolicyArn(const Aws::String &value)
Definition: ActiveIAMPolicyAssignment.h:95
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::WithAssignmentName
ActiveIAMPolicyAssignment & WithAssignmentName(Aws::String &&value)
Definition: ActiveIAMPolicyAssignment.h:74
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::ActiveIAMPolicyAssignment
ActiveIAMPolicyAssignment()
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::operator=
ActiveIAMPolicyAssignment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: ActiveIAMPolicyAssignment.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::WithAssignmentName
ActiveIAMPolicyAssignment & WithAssignmentName(const char *value)
Definition: ActiveIAMPolicyAssignment.h:79
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::GetPolicyArn
const Aws::String & GetPolicyArn() const
Definition: ActiveIAMPolicyAssignment.h:85
Aws::QuickSight::Model::ActiveIAMPolicyAssignment::PolicyArnHasBeenSet
bool PolicyArnHasBeenSet() const
Definition: ActiveIAMPolicyAssignment.h:90