AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePortfolioRequest.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/servicecatalog/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ServiceCatalog
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SERVICECATALOG_API UpdatePortfolioRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdatePortfolio"; }
33
34 AWS_SERVICECATALOG_API Aws::String SerializePayload() const override;
35
36 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
45 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
46 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
47 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
48 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
49 inline UpdatePortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
50 inline UpdatePortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
51 inline UpdatePortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
53
55
58 inline const Aws::String& GetId() const{ return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
61 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 inline UpdatePortfolioRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
64 inline UpdatePortfolioRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 inline UpdatePortfolioRequest& WithId(const char* value) { SetId(value); return *this;}
67
69
72 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
73 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
74 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
75 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
76 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
77 inline UpdatePortfolioRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
78 inline UpdatePortfolioRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
79 inline UpdatePortfolioRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline UpdatePortfolioRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline UpdatePortfolioRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline UpdatePortfolioRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
100 inline const Aws::String& GetProviderName() const{ return m_providerName; }
101 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
102 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
103 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
104 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
105 inline UpdatePortfolioRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
106 inline UpdatePortfolioRequest& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
107 inline UpdatePortfolioRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;}
109
111
114 inline const Aws::Vector<Tag>& GetAddTags() const{ return m_addTags; }
115 inline bool AddTagsHasBeenSet() const { return m_addTagsHasBeenSet; }
116 inline void SetAddTags(const Aws::Vector<Tag>& value) { m_addTagsHasBeenSet = true; m_addTags = value; }
117 inline void SetAddTags(Aws::Vector<Tag>&& value) { m_addTagsHasBeenSet = true; m_addTags = std::move(value); }
118 inline UpdatePortfolioRequest& WithAddTags(const Aws::Vector<Tag>& value) { SetAddTags(value); return *this;}
119 inline UpdatePortfolioRequest& WithAddTags(Aws::Vector<Tag>&& value) { SetAddTags(std::move(value)); return *this;}
120 inline UpdatePortfolioRequest& AddAddTags(const Tag& value) { m_addTagsHasBeenSet = true; m_addTags.push_back(value); return *this; }
121 inline UpdatePortfolioRequest& AddAddTags(Tag&& value) { m_addTagsHasBeenSet = true; m_addTags.push_back(std::move(value)); return *this; }
123
125
128 inline const Aws::Vector<Aws::String>& GetRemoveTags() const{ return m_removeTags; }
129 inline bool RemoveTagsHasBeenSet() const { return m_removeTagsHasBeenSet; }
130 inline void SetRemoveTags(const Aws::Vector<Aws::String>& value) { m_removeTagsHasBeenSet = true; m_removeTags = value; }
131 inline void SetRemoveTags(Aws::Vector<Aws::String>&& value) { m_removeTagsHasBeenSet = true; m_removeTags = std::move(value); }
133 inline UpdatePortfolioRequest& WithRemoveTags(Aws::Vector<Aws::String>&& value) { SetRemoveTags(std::move(value)); return *this;}
134 inline UpdatePortfolioRequest& AddRemoveTags(const Aws::String& value) { m_removeTagsHasBeenSet = true; m_removeTags.push_back(value); return *this; }
135 inline UpdatePortfolioRequest& AddRemoveTags(Aws::String&& value) { m_removeTagsHasBeenSet = true; m_removeTags.push_back(std::move(value)); return *this; }
136 inline UpdatePortfolioRequest& AddRemoveTags(const char* value) { m_removeTagsHasBeenSet = true; m_removeTags.push_back(value); return *this; }
138 private:
139
140 Aws::String m_acceptLanguage;
141 bool m_acceptLanguageHasBeenSet = false;
142
143 Aws::String m_id;
144 bool m_idHasBeenSet = false;
145
146 Aws::String m_displayName;
147 bool m_displayNameHasBeenSet = false;
148
149 Aws::String m_description;
150 bool m_descriptionHasBeenSet = false;
151
152 Aws::String m_providerName;
153 bool m_providerNameHasBeenSet = false;
154
155 Aws::Vector<Tag> m_addTags;
156 bool m_addTagsHasBeenSet = false;
157
158 Aws::Vector<Aws::String> m_removeTags;
159 bool m_removeTagsHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace ServiceCatalog
164} // namespace Aws
UpdatePortfolioRequest & WithAddTags(Aws::Vector< Tag > &&value)
UpdatePortfolioRequest & AddRemoveTags(const Aws::String &value)
UpdatePortfolioRequest & WithId(const Aws::String &value)
UpdatePortfolioRequest & WithDescription(const char *value)
UpdatePortfolioRequest & WithId(Aws::String &&value)
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
UpdatePortfolioRequest & WithProviderName(const Aws::String &value)
UpdatePortfolioRequest & AddAddTags(const Tag &value)
virtual const char * GetServiceRequestName() const override
UpdatePortfolioRequest & AddRemoveTags(Aws::String &&value)
void SetRemoveTags(Aws::Vector< Aws::String > &&value)
UpdatePortfolioRequest & WithAddTags(const Aws::Vector< Tag > &value)
UpdatePortfolioRequest & AddRemoveTags(const char *value)
UpdatePortfolioRequest & WithAcceptLanguage(Aws::String &&value)
UpdatePortfolioRequest & WithDisplayName(Aws::String &&value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetRemoveTags() const
UpdatePortfolioRequest & WithProviderName(Aws::String &&value)
UpdatePortfolioRequest & WithId(const char *value)
UpdatePortfolioRequest & WithProviderName(const char *value)
UpdatePortfolioRequest & WithRemoveTags(const Aws::Vector< Aws::String > &value)
UpdatePortfolioRequest & WithDisplayName(const char *value)
UpdatePortfolioRequest & WithDescription(Aws::String &&value)
UpdatePortfolioRequest & WithAcceptLanguage(const char *value)
UpdatePortfolioRequest & WithDisplayName(const Aws::String &value)
UpdatePortfolioRequest & WithAcceptLanguage(const Aws::String &value)
UpdatePortfolioRequest & WithRemoveTags(Aws::Vector< Aws::String > &&value)
void SetRemoveTags(const Aws::Vector< Aws::String > &value)
UpdatePortfolioRequest & WithDescription(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector