AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
ActionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/supportauthz/SupportAuthZ_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SupportAuthZ {
20namespace Model {
21
28 public:
29 AWS_SUPPORTAUTHZ_API ActionSummary() = default;
30 AWS_SUPPORTAUTHZ_API ActionSummary(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SUPPORTAUTHZ_API ActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAction() const { return m_action; }
39 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
40 template <typename ActionT = Aws::String>
41 void SetAction(ActionT&& value) {
42 m_actionHasBeenSet = true;
43 m_action = std::forward<ActionT>(value);
44 }
45 template <typename ActionT = Aws::String>
46 ActionSummary& WithAction(ActionT&& value) {
47 SetAction(std::forward<ActionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetService() const { return m_service; }
57 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
58 template <typename ServiceT = Aws::String>
59 void SetService(ServiceT&& value) {
60 m_serviceHasBeenSet = true;
61 m_service = std::forward<ServiceT>(value);
62 }
63 template <typename ServiceT = Aws::String>
64 ActionSummary& WithService(ServiceT&& value) {
65 SetService(std::forward<ServiceT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 ActionSummary& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_action;
89
90 Aws::String m_service;
91
92 Aws::String m_description;
93 bool m_actionHasBeenSet = false;
94 bool m_serviceHasBeenSet = false;
95 bool m_descriptionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SupportAuthZ
100} // namespace Aws
const Aws::String & GetService() const
AWS_SUPPORTAUTHZ_API ActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
ActionSummary & WithService(ServiceT &&value)
AWS_SUPPORTAUTHZ_API ActionSummary(Aws::Utils::Json::JsonView jsonValue)
ActionSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetAction() const
ActionSummary & WithAction(ActionT &&value)
AWS_SUPPORTAUTHZ_API ActionSummary()=default
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue