AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected {
23namespace Model {
25 public:
26 AWS_WELLARCHITECTED_API CreateProfileResult() = default;
29
31
34 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
35 template <typename ProfileArnT = Aws::String>
36 void SetProfileArn(ProfileArnT&& value) {
37 m_profileArnHasBeenSet = true;
38 m_profileArn = std::forward<ProfileArnT>(value);
39 }
40 template <typename ProfileArnT = Aws::String>
41 CreateProfileResult& WithProfileArn(ProfileArnT&& value) {
42 SetProfileArn(std::forward<ProfileArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
52 template <typename ProfileVersionT = Aws::String>
53 void SetProfileVersion(ProfileVersionT&& value) {
54 m_profileVersionHasBeenSet = true;
55 m_profileVersion = std::forward<ProfileVersionT>(value);
56 }
57 template <typename ProfileVersionT = Aws::String>
58 CreateProfileResult& WithProfileVersion(ProfileVersionT&& value) {
59 SetProfileVersion(std::forward<ProfileVersionT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 CreateProfileResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_profileArn;
82
83 Aws::String m_profileVersion;
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_profileArnHasBeenSet = false;
88 bool m_profileVersionHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace WellArchitected
94} // namespace Aws
AWS_WELLARCHITECTED_API CreateProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_WELLARCHITECTED_API CreateProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProfileResult & WithProfileArn(ProfileArnT &&value)
CreateProfileResult & WithRequestId(RequestIdT &&value)
AWS_WELLARCHITECTED_API CreateProfileResult()=default
CreateProfileResult & WithProfileVersion(ProfileVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue