AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DescriptionT = Aws::String>
48 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
49 template<typename DescriptionT = Aws::String>
50 ReasonSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
52
54
57 inline int GetStatementIndex() const { return m_statementIndex; }
58 inline bool StatementIndexHasBeenSet() const { return m_statementIndexHasBeenSet; }
59 inline void SetStatementIndex(int value) { m_statementIndexHasBeenSet = true; m_statementIndex = value; }
60 inline ReasonSummary& WithStatementIndex(int value) { SetStatementIndex(value); return *this;}
62
64
67 inline const Aws::String& GetStatementId() const { return m_statementId; }
68 inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
69 template<typename StatementIdT = Aws::String>
70 void SetStatementId(StatementIdT&& value) { m_statementIdHasBeenSet = true; m_statementId = std::forward<StatementIdT>(value); }
71 template<typename StatementIdT = Aws::String>
72 ReasonSummary& WithStatementId(StatementIdT&& value) { SetStatementId(std::forward<StatementIdT>(value)); return *this;}
74 private:
75
76 Aws::String m_description;
77 bool m_descriptionHasBeenSet = false;
78
79 int m_statementIndex{0};
80 bool m_statementIndexHasBeenSet = false;
81
82 Aws::String m_statementId;
83 bool m_statementIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace AccessAnalyzer
88} // namespace Aws
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatementId() const
ReasonSummary & WithStatementId(StatementIdT &&value)
AWS_ACCESSANALYZER_API ReasonSummary()=default
AWS_ACCESSANALYZER_API ReasonSummary(Aws::Utils::Json::JsonView jsonValue)
ReasonSummary & WithStatementIndex(int value)
const Aws::String & GetDescription() const
ReasonSummary & WithDescription(DescriptionT &&value)
AWS_ACCESSANALYZER_API ReasonSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatementId(StatementIdT &&value)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue