AWS SDK for C++

AWS SDK for C++ Version 1.11.715

Loading...
Searching...
No Matches
PutProfileVisibilityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-account/PartnerCentralAccountRequest.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/ProfileVisibility.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PartnerCentralAccount {
16namespace Model {
17
21 public:
22 AWS_PARTNERCENTRALACCOUNT_API PutProfileVisibilityRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutProfileVisibility"; }
29
30 AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override;
31
32 AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetCatalog() const { return m_catalog; }
39 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
40 template <typename CatalogT = Aws::String>
41 void SetCatalog(CatalogT&& value) {
42 m_catalogHasBeenSet = true;
43 m_catalog = std::forward<CatalogT>(value);
44 }
45 template <typename CatalogT = Aws::String>
47 SetCatalog(std::forward<CatalogT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template <typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) {
60 m_identifierHasBeenSet = true;
61 m_identifier = std::forward<IdentifierT>(value);
62 }
63 template <typename IdentifierT = Aws::String>
65 SetIdentifier(std::forward<IdentifierT>(value));
66 return *this;
67 }
69
71
74 inline ProfileVisibility GetVisibility() const { return m_visibility; }
75 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
76 inline void SetVisibility(ProfileVisibility value) {
77 m_visibilityHasBeenSet = true;
78 m_visibility = value;
79 }
81 SetVisibility(value);
82 return *this;
83 }
85 private:
86 Aws::String m_catalog;
87
88 Aws::String m_identifier;
89
91 bool m_catalogHasBeenSet = false;
92 bool m_identifierHasBeenSet = false;
93 bool m_visibilityHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace PartnerCentralAccount
98} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutProfileVisibilityRequest & WithVisibility(ProfileVisibility value)
AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override
PutProfileVisibilityRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALACCOUNT_API PutProfileVisibilityRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String