AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
CreateFrameworkRequest.h
1
6#pragma once
7#include <aws/assurance/AssuranceRequest.h>
8#include <aws/assurance/Assurance_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Assurance {
15namespace Model {
16
20 public:
21 AWS_ASSURANCE_API CreateFrameworkRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateFramework"; }
28
29 AWS_ASSURANCE_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
38 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
39 template <typename EnvironmentArnT = Aws::String>
40 void SetEnvironmentArn(EnvironmentArnT&& value) {
41 m_environmentArnHasBeenSet = true;
42 m_environmentArn = std::forward<EnvironmentArnT>(value);
43 }
44 template <typename EnvironmentArnT = Aws::String>
45 CreateFrameworkRequest& WithEnvironmentArn(EnvironmentArnT&& value) {
46 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetFramework() const { return m_framework; }
57 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
58 template <typename FrameworkT = Aws::String>
59 void SetFramework(FrameworkT&& value) {
60 m_frameworkHasBeenSet = true;
61 m_framework = std::forward<FrameworkT>(value);
62 }
63 template <typename FrameworkT = Aws::String>
65 SetFramework(std::forward<FrameworkT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
75 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
76 template <typename FrameworkVersionT = Aws::String>
77 void SetFrameworkVersion(FrameworkVersionT&& value) {
78 m_frameworkVersionHasBeenSet = true;
79 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
80 }
81 template <typename FrameworkVersionT = Aws::String>
82 CreateFrameworkRequest& WithFrameworkVersion(FrameworkVersionT&& value) {
83 SetFrameworkVersion(std::forward<FrameworkVersionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTitle() const { return m_title; }
93 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
94 template <typename TitleT = Aws::String>
95 void SetTitle(TitleT&& value) {
96 m_titleHasBeenSet = true;
97 m_title = std::forward<TitleT>(value);
98 }
99 template <typename TitleT = Aws::String>
101 SetTitle(std::forward<TitleT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDescription() const { return m_description; }
111 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
112 template <typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) {
114 m_descriptionHasBeenSet = true;
115 m_description = std::forward<DescriptionT>(value);
116 }
117 template <typename DescriptionT = Aws::String>
119 SetDescription(std::forward<DescriptionT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_environmentArn;
125
126 Aws::String m_framework;
127
128 Aws::String m_frameworkVersion;
129
130 Aws::String m_title;
131
132 Aws::String m_description;
133 bool m_environmentArnHasBeenSet = false;
134 bool m_frameworkHasBeenSet = false;
135 bool m_frameworkVersionHasBeenSet = false;
136 bool m_titleHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Assurance
142} // namespace Aws
CreateFrameworkRequest & WithDescription(DescriptionT &&value)
void SetFrameworkVersion(FrameworkVersionT &&value)
virtual const char * GetServiceRequestName() const override
CreateFrameworkRequest & WithFramework(FrameworkT &&value)
AWS_ASSURANCE_API Aws::String SerializePayload() const override
CreateFrameworkRequest & WithEnvironmentArn(EnvironmentArnT &&value)
CreateFrameworkRequest & WithTitle(TitleT &&value)
CreateFrameworkRequest & WithFrameworkVersion(FrameworkVersionT &&value)
AWS_ASSURANCE_API CreateFrameworkRequest()=default
AWS_ASSURANCE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String