AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReasonSummary.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AccessAnalyzer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ACCESSANALYZER_API ReasonSummary();
36 AWS_ACCESSANALYZER_API ReasonSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ACCESSANALYZER_API ReasonSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDescription() const{ return m_description; }
46 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
48 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
49 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
50 inline ReasonSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
51 inline ReasonSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
52 inline ReasonSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
54
56
59 inline int GetStatementIndex() const{ return m_statementIndex; }
60 inline bool StatementIndexHasBeenSet() const { return m_statementIndexHasBeenSet; }
61 inline void SetStatementIndex(int value) { m_statementIndexHasBeenSet = true; m_statementIndex = value; }
62 inline ReasonSummary& WithStatementIndex(int value) { SetStatementIndex(value); return *this;}
64
66
69 inline const Aws::String& GetStatementId() const{ return m_statementId; }
70 inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
71 inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
72 inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
73 inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
74 inline ReasonSummary& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;}
75 inline ReasonSummary& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
76 inline ReasonSummary& WithStatementId(const char* value) { SetStatementId(value); return *this;}
78 private:
79
80 Aws::String m_description;
81 bool m_descriptionHasBeenSet = false;
82
83 int m_statementIndex;
84 bool m_statementIndexHasBeenSet = false;
85
86 Aws::String m_statementId;
87 bool m_statementIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AccessAnalyzer
92} // namespace Aws
ReasonSummary & WithStatementId(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatementId() const
ReasonSummary & WithStatementId(const char *value)
AWS_ACCESSANALYZER_API ReasonSummary()
AWS_ACCESSANALYZER_API ReasonSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
void SetStatementId(Aws::String &&value)
void SetDescription(const Aws::String &value)
ReasonSummary & WithStatementIndex(int value)
ReasonSummary & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
ReasonSummary & WithDescription(const Aws::String &value)
ReasonSummary & WithDescription(const char *value)
ReasonSummary & WithStatementId(const Aws::String &value)
AWS_ACCESSANALYZER_API ReasonSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatementId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue