AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 UpdateApplicationRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetAuthor() const { return m_author; }
54 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
55 template<typename AuthorT = Aws::String>
56 void SetAuthor(AuthorT&& value) { m_authorHasBeenSet = true; m_author = std::forward<AuthorT>(value); }
57 template<typename AuthorT = Aws::String>
58 UpdateApplicationRequest& WithAuthor(AuthorT&& value) { SetAuthor(std::forward<AuthorT>(value)); return *this;}
60
62
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateApplicationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
79 inline const Aws::String& GetHomePageUrl() const { return m_homePageUrl; }
80 inline bool HomePageUrlHasBeenSet() const { return m_homePageUrlHasBeenSet; }
81 template<typename HomePageUrlT = Aws::String>
82 void SetHomePageUrl(HomePageUrlT&& value) { m_homePageUrlHasBeenSet = true; m_homePageUrl = std::forward<HomePageUrlT>(value); }
83 template<typename HomePageUrlT = Aws::String>
84 UpdateApplicationRequest& WithHomePageUrl(HomePageUrlT&& value) { SetHomePageUrl(std::forward<HomePageUrlT>(value)); return *this;}
86
88
93 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
94 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
95 template<typename LabelsT = Aws::Vector<Aws::String>>
96 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
97 template<typename LabelsT = Aws::Vector<Aws::String>>
98 UpdateApplicationRequest& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
99 template<typename LabelsT = Aws::String>
100 UpdateApplicationRequest& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
102
104
108 inline const Aws::String& GetReadmeBody() const { return m_readmeBody; }
109 inline bool ReadmeBodyHasBeenSet() const { return m_readmeBodyHasBeenSet; }
110 template<typename ReadmeBodyT = Aws::String>
111 void SetReadmeBody(ReadmeBodyT&& value) { m_readmeBodyHasBeenSet = true; m_readmeBody = std::forward<ReadmeBodyT>(value); }
112 template<typename ReadmeBodyT = Aws::String>
113 UpdateApplicationRequest& WithReadmeBody(ReadmeBodyT&& value) { SetReadmeBody(std::forward<ReadmeBodyT>(value)); return *this;}
115
117
121 inline const Aws::String& GetReadmeUrl() const { return m_readmeUrl; }
122 inline bool ReadmeUrlHasBeenSet() const { return m_readmeUrlHasBeenSet; }
123 template<typename ReadmeUrlT = Aws::String>
124 void SetReadmeUrl(ReadmeUrlT&& value) { m_readmeUrlHasBeenSet = true; m_readmeUrl = std::forward<ReadmeUrlT>(value); }
125 template<typename ReadmeUrlT = Aws::String>
126 UpdateApplicationRequest& WithReadmeUrl(ReadmeUrlT&& value) { SetReadmeUrl(std::forward<ReadmeUrlT>(value)); return *this;}
128 private:
129
130 Aws::String m_applicationId;
131 bool m_applicationIdHasBeenSet = false;
132
133 Aws::String m_author;
134 bool m_authorHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_homePageUrl;
140 bool m_homePageUrlHasBeenSet = false;
141
143 bool m_labelsHasBeenSet = false;
144
145 Aws::String m_readmeBody;
146 bool m_readmeBodyHasBeenSet = false;
147
148 Aws::String m_readmeUrl;
149 bool m_readmeUrlHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace ServerlessApplicationRepository
154} // namespace Aws
UpdateApplicationRequest & WithApplicationId(ApplicationIdT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API UpdateApplicationRequest()=default
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