AWS SDK for C++  1.9.160
AWS SDK for C++
IAMPolicyAssignmentSummary.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 QuickSight
23 {
24 namespace Model
25 {
26 
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 IAMPolicyAssignmentSummary& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
70 
74  inline IAMPolicyAssignmentSummary& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
75 
79  inline IAMPolicyAssignmentSummary& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
80 
81 
85  inline const AssignmentStatus& GetAssignmentStatus() const{ return m_assignmentStatus; }
86 
90  inline bool AssignmentStatusHasBeenSet() const { return m_assignmentStatusHasBeenSet; }
91 
95  inline void SetAssignmentStatus(const AssignmentStatus& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = value; }
96 
100  inline void SetAssignmentStatus(AssignmentStatus&& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = std::move(value); }
101 
105  inline IAMPolicyAssignmentSummary& WithAssignmentStatus(const AssignmentStatus& value) { SetAssignmentStatus(value); return *this;}
106 
110  inline IAMPolicyAssignmentSummary& WithAssignmentStatus(AssignmentStatus&& value) { SetAssignmentStatus(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_assignmentName;
115  bool m_assignmentNameHasBeenSet;
116 
117  AssignmentStatus m_assignmentStatus;
118  bool m_assignmentStatusHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace QuickSight
123 } // namespace Aws
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::AssignmentStatusHasBeenSet
bool AssignmentStatusHasBeenSet() const
Definition: IAMPolicyAssignmentSummary.h:90
QuickSight_EXPORTS.h
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::operator=
IAMPolicyAssignmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::WithAssignmentStatus
IAMPolicyAssignmentSummary & WithAssignmentStatus(const AssignmentStatus &value)
Definition: IAMPolicyAssignmentSummary.h:105
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: IAMPolicyAssignmentSummary.h:44
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::WithAssignmentName
IAMPolicyAssignmentSummary & WithAssignmentName(Aws::String &&value)
Definition: IAMPolicyAssignmentSummary.h:74
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: IAMPolicyAssignmentSummary.h:64
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::IAMPolicyAssignmentSummary
IAMPolicyAssignmentSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: IAMPolicyAssignmentSummary.h:54
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::SetAssignmentStatus
void SetAssignmentStatus(AssignmentStatus &&value)
Definition: IAMPolicyAssignmentSummary.h:100
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::AssignmentNameHasBeenSet
bool AssignmentNameHasBeenSet() const
Definition: IAMPolicyAssignmentSummary.h:49
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: IAMPolicyAssignmentSummary.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AssignmentStatus.h
Aws::QuickSight::Model::AssignmentStatus
AssignmentStatus
Definition: AssignmentStatus.h:17
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::WithAssignmentName
IAMPolicyAssignmentSummary & WithAssignmentName(const Aws::String &value)
Definition: IAMPolicyAssignmentSummary.h:69
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::WithAssignmentName
IAMPolicyAssignmentSummary & WithAssignmentName(const char *value)
Definition: IAMPolicyAssignmentSummary.h:79
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::WithAssignmentStatus
IAMPolicyAssignmentSummary & WithAssignmentStatus(AssignmentStatus &&value)
Definition: IAMPolicyAssignmentSummary.h:110
Aws::QuickSight::Model::IAMPolicyAssignmentSummary
Definition: IAMPolicyAssignmentSummary.h:33
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::SetAssignmentStatus
void SetAssignmentStatus(const AssignmentStatus &value)
Definition: IAMPolicyAssignmentSummary.h:95
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::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::IAMPolicyAssignmentSummary
IAMPolicyAssignmentSummary()
Aws::QuickSight::Model::IAMPolicyAssignmentSummary::GetAssignmentStatus
const AssignmentStatus & GetAssignmentStatus() const
Definition: IAMPolicyAssignmentSummary.h:85