AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
GetProfileAssociationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
10#include <aws/route53profiles/model/ProfileAssociation.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Route53Profiles {
24namespace Model {
26 public:
27 AWS_ROUTE53PROFILES_API GetProfileAssociationResult() = default;
30
32
36 inline const ProfileAssociation& GetProfileAssociation() const { return m_profileAssociation; }
37 template <typename ProfileAssociationT = ProfileAssociation>
38 void SetProfileAssociation(ProfileAssociationT&& value) {
39 m_profileAssociationHasBeenSet = true;
40 m_profileAssociation = std::forward<ProfileAssociationT>(value);
41 }
42 template <typename ProfileAssociationT = ProfileAssociation>
44 SetProfileAssociation(std::forward<ProfileAssociationT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetRequestId() const { return m_requestId; }
52 template <typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) {
54 m_requestIdHasBeenSet = true;
55 m_requestId = std::forward<RequestIdT>(value);
56 }
57 template <typename RequestIdT = Aws::String>
59 SetRequestId(std::forward<RequestIdT>(value));
60 return *this;
61 }
63 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
64
65 private:
66 ProfileAssociation m_profileAssociation;
67
68 Aws::String m_requestId;
69 Aws::Http::HttpResponseCode m_HttpResponseCode;
70 bool m_profileAssociationHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Route53Profiles
76} // namespace Aws
GetProfileAssociationResult & WithProfileAssociation(ProfileAssociationT &&value)
GetProfileAssociationResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53PROFILES_API GetProfileAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53PROFILES_API GetProfileAssociationResult()=default
AWS_ROUTE53PROFILES_API GetProfileAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue