AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
PermissionTemplateParameterDeclaration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ram/RAM_EXPORTS.h>
9#include <aws/ram/model/PermissionTemplateParameterType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace RAM {
21namespace Model {
22
31 public:
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
64 inline PermissionTemplateParameterType GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 m_typeHasBeenSet = true;
68 m_type = value;
69 }
75
77
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
98
99 Aws::String m_description;
100 bool m_nameHasBeenSet = false;
101 bool m_typeHasBeenSet = false;
102 bool m_descriptionHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace RAM
107} // namespace Aws
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
PermissionTemplateParameterDeclaration & WithType(PermissionTemplateParameterType value)
AWS_RAM_API PermissionTemplateParameterDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionTemplateParameterDeclaration & WithName(NameT &&value)
PermissionTemplateParameterDeclaration & WithDescription(DescriptionT &&value)
AWS_RAM_API PermissionTemplateParameterDeclaration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue