AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DescribePublisherResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/model/IdentityProvider.h>
9#include <aws/cloudformation/model/PublisherStatus.h>
10#include <aws/cloudformation/model/ResponseMetadata.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace CloudFormation {
26namespace Model {
28 public:
29 AWS_CLOUDFORMATION_API DescribePublisherResult() = default;
32
34
37 inline const Aws::String& GetPublisherId() const { return m_publisherId; }
38 template <typename PublisherIdT = Aws::String>
39 void SetPublisherId(PublisherIdT&& value) {
40 m_publisherIdHasBeenSet = true;
41 m_publisherId = std::forward<PublisherIdT>(value);
42 }
43 template <typename PublisherIdT = Aws::String>
45 SetPublisherId(std::forward<PublisherIdT>(value));
46 return *this;
47 }
49
51
55 inline PublisherStatus GetPublisherStatus() const { return m_publisherStatus; }
57 m_publisherStatusHasBeenSet = true;
58 m_publisherStatus = value;
59 }
61 SetPublisherStatus(value);
62 return *this;
63 }
65
67
71 inline IdentityProvider GetIdentityProvider() const { return m_identityProvider; }
73 m_identityProviderHasBeenSet = true;
74 m_identityProvider = value;
75 }
78 return *this;
79 }
81
83
86 inline const Aws::String& GetPublisherProfile() const { return m_publisherProfile; }
87 template <typename PublisherProfileT = Aws::String>
88 void SetPublisherProfile(PublisherProfileT&& value) {
89 m_publisherProfileHasBeenSet = true;
90 m_publisherProfile = std::forward<PublisherProfileT>(value);
91 }
92 template <typename PublisherProfileT = Aws::String>
93 DescribePublisherResult& WithPublisherProfile(PublisherProfileT&& value) {
94 SetPublisherProfile(std::forward<PublisherProfileT>(value));
95 return *this;
96 }
98
100
101 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
102 template <typename ResponseMetadataT = ResponseMetadata>
103 void SetResponseMetadata(ResponseMetadataT&& value) {
104 m_responseMetadataHasBeenSet = true;
105 m_responseMetadata = std::forward<ResponseMetadataT>(value);
106 }
107 template <typename ResponseMetadataT = ResponseMetadata>
108 DescribePublisherResult& WithResponseMetadata(ResponseMetadataT&& value) {
109 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_publisherId;
117
118 PublisherStatus m_publisherStatus{PublisherStatus::NOT_SET};
119
121
122 Aws::String m_publisherProfile;
123
124 ResponseMetadata m_responseMetadata;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_publisherIdHasBeenSet = false;
127 bool m_publisherStatusHasBeenSet = false;
128 bool m_identityProviderHasBeenSet = false;
129 bool m_publisherProfileHasBeenSet = false;
130 bool m_responseMetadataHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace CloudFormation
135} // namespace Aws
DescribePublisherResult & WithPublisherId(PublisherIdT &&value)
AWS_CLOUDFORMATION_API DescribePublisherResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribePublisherResult & WithIdentityProvider(IdentityProvider value)
AWS_CLOUDFORMATION_API DescribePublisherResult()=default
DescribePublisherResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribePublisherResult & WithPublisherProfile(PublisherProfileT &&value)
DescribePublisherResult & WithPublisherStatus(PublisherStatus value)
AWS_CLOUDFORMATION_API DescribePublisherResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument