AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IAMPolicyAssignmentSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/AssignmentStatus.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 QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API IAMPolicyAssignmentSummary();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
46 inline bool AssignmentNameHasBeenSet() const { return m_assignmentNameHasBeenSet; }
47 inline void SetAssignmentName(const Aws::String& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = value; }
48 inline void SetAssignmentName(Aws::String&& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = std::move(value); }
49 inline void SetAssignmentName(const char* value) { m_assignmentNameHasBeenSet = true; m_assignmentName.assign(value); }
50 inline IAMPolicyAssignmentSummary& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
51 inline IAMPolicyAssignmentSummary& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
52 inline IAMPolicyAssignmentSummary& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
54
56
59 inline const AssignmentStatus& GetAssignmentStatus() const{ return m_assignmentStatus; }
60 inline bool AssignmentStatusHasBeenSet() const { return m_assignmentStatusHasBeenSet; }
61 inline void SetAssignmentStatus(const AssignmentStatus& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = value; }
62 inline void SetAssignmentStatus(AssignmentStatus&& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = std::move(value); }
64 inline IAMPolicyAssignmentSummary& WithAssignmentStatus(AssignmentStatus&& value) { SetAssignmentStatus(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_assignmentName;
69 bool m_assignmentNameHasBeenSet = false;
70
71 AssignmentStatus m_assignmentStatus;
72 bool m_assignmentStatusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
IAMPolicyAssignmentSummary & WithAssignmentName(Aws::String &&value)
IAMPolicyAssignmentSummary & WithAssignmentName(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API IAMPolicyAssignmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IAMPolicyAssignmentSummary & WithAssignmentName(const Aws::String &value)
IAMPolicyAssignmentSummary & WithAssignmentStatus(const AssignmentStatus &value)
AWS_QUICKSIGHT_API IAMPolicyAssignmentSummary(Aws::Utils::Json::JsonView jsonValue)
IAMPolicyAssignmentSummary & WithAssignmentStatus(AssignmentStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue