AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationRequest.h
1
6#pragma once
7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/serverlessrepo/ServerlessApplicationRepositoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ServerlessApplicationRepository
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SERVERLESSAPPLICATIONREPOSITORY_API UpdateApplicationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
32
33 AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline UpdateApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline UpdateApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline UpdateApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
55 inline const Aws::String& GetAuthor() const{ return m_author; }
56 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
57 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
58 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
59 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
60 inline UpdateApplicationRequest& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
61 inline UpdateApplicationRequest& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
62 inline UpdateApplicationRequest& WithAuthor(const char* value) { SetAuthor(value); return *this;}
64
66
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
85 inline const Aws::String& GetHomePageUrl() const{ return m_homePageUrl; }
86 inline bool HomePageUrlHasBeenSet() const { return m_homePageUrlHasBeenSet; }
87 inline void SetHomePageUrl(const Aws::String& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = value; }
88 inline void SetHomePageUrl(Aws::String&& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = std::move(value); }
89 inline void SetHomePageUrl(const char* value) { m_homePageUrlHasBeenSet = true; m_homePageUrl.assign(value); }
90 inline UpdateApplicationRequest& WithHomePageUrl(const Aws::String& value) { SetHomePageUrl(value); return *this;}
91 inline UpdateApplicationRequest& WithHomePageUrl(Aws::String&& value) { SetHomePageUrl(std::move(value)); return *this;}
92 inline UpdateApplicationRequest& WithHomePageUrl(const char* value) { SetHomePageUrl(value); return *this;}
94
96
101 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
102 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
103 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
104 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
105 inline UpdateApplicationRequest& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
106 inline UpdateApplicationRequest& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
107 inline UpdateApplicationRequest& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
108 inline UpdateApplicationRequest& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
109 inline UpdateApplicationRequest& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
111
113
117 inline const Aws::String& GetReadmeBody() const{ return m_readmeBody; }
118 inline bool ReadmeBodyHasBeenSet() const { return m_readmeBodyHasBeenSet; }
119 inline void SetReadmeBody(const Aws::String& value) { m_readmeBodyHasBeenSet = true; m_readmeBody = value; }
120 inline void SetReadmeBody(Aws::String&& value) { m_readmeBodyHasBeenSet = true; m_readmeBody = std::move(value); }
121 inline void SetReadmeBody(const char* value) { m_readmeBodyHasBeenSet = true; m_readmeBody.assign(value); }
122 inline UpdateApplicationRequest& WithReadmeBody(const Aws::String& value) { SetReadmeBody(value); return *this;}
123 inline UpdateApplicationRequest& WithReadmeBody(Aws::String&& value) { SetReadmeBody(std::move(value)); return *this;}
124 inline UpdateApplicationRequest& WithReadmeBody(const char* value) { SetReadmeBody(value); return *this;}
126
128
132 inline const Aws::String& GetReadmeUrl() const{ return m_readmeUrl; }
133 inline bool ReadmeUrlHasBeenSet() const { return m_readmeUrlHasBeenSet; }
134 inline void SetReadmeUrl(const Aws::String& value) { m_readmeUrlHasBeenSet = true; m_readmeUrl = value; }
135 inline void SetReadmeUrl(Aws::String&& value) { m_readmeUrlHasBeenSet = true; m_readmeUrl = std::move(value); }
136 inline void SetReadmeUrl(const char* value) { m_readmeUrlHasBeenSet = true; m_readmeUrl.assign(value); }
137 inline UpdateApplicationRequest& WithReadmeUrl(const Aws::String& value) { SetReadmeUrl(value); return *this;}
138 inline UpdateApplicationRequest& WithReadmeUrl(Aws::String&& value) { SetReadmeUrl(std::move(value)); return *this;}
139 inline UpdateApplicationRequest& WithReadmeUrl(const char* value) { SetReadmeUrl(value); return *this;}
141 private:
142
143 Aws::String m_applicationId;
144 bool m_applicationIdHasBeenSet = false;
145
146 Aws::String m_author;
147 bool m_authorHasBeenSet = false;
148
149 Aws::String m_description;
150 bool m_descriptionHasBeenSet = false;
151
152 Aws::String m_homePageUrl;
153 bool m_homePageUrlHasBeenSet = false;
154
156 bool m_labelsHasBeenSet = false;
157
158 Aws::String m_readmeBody;
159 bool m_readmeBodyHasBeenSet = false;
160
161 Aws::String m_readmeUrl;
162 bool m_readmeUrlHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace ServerlessApplicationRepository
167} // namespace Aws
UpdateApplicationRequest & WithAuthor(const Aws::String &value)
UpdateApplicationRequest & WithDescription(const Aws::String &value)
UpdateApplicationRequest & WithReadmeUrl(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API UpdateApplicationRequest()
UpdateApplicationRequest & WithApplicationId(const Aws::String &value)
UpdateApplicationRequest & WithHomePageUrl(const Aws::String &value)
UpdateApplicationRequest & WithReadmeBody(const Aws::String &value)
UpdateApplicationRequest & WithLabels(Aws::Vector< Aws::String > &&value)
UpdateApplicationRequest & WithLabels(const Aws::Vector< Aws::String > &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector