AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateThemeForStackRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/appstream/model/ThemeStyling.h>
12#include <aws/appstream/model/S3Location.h>
13#include <aws/appstream/model/ThemeState.h>
14#include <aws/appstream/model/ThemeFooterLink.h>
15#include <aws/appstream/model/ThemeAttribute.h>
16#include <utility>
17
18namespace Aws
19{
20namespace AppStream
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_APPSTREAM_API UpdateThemeForStackRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateThemeForStack"; }
37
38 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetStackName() const{ return m_stackName; }
48 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
49 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
50 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
51 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
52 inline UpdateThemeForStackRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
53 inline UpdateThemeForStackRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
54 inline UpdateThemeForStackRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
56
58
63 inline const Aws::Vector<ThemeFooterLink>& GetFooterLinks() const{ return m_footerLinks; }
64 inline bool FooterLinksHasBeenSet() const { return m_footerLinksHasBeenSet; }
65 inline void SetFooterLinks(const Aws::Vector<ThemeFooterLink>& value) { m_footerLinksHasBeenSet = true; m_footerLinks = value; }
66 inline void SetFooterLinks(Aws::Vector<ThemeFooterLink>&& value) { m_footerLinksHasBeenSet = true; m_footerLinks = std::move(value); }
69 inline UpdateThemeForStackRequest& AddFooterLinks(const ThemeFooterLink& value) { m_footerLinksHasBeenSet = true; m_footerLinks.push_back(value); return *this; }
70 inline UpdateThemeForStackRequest& AddFooterLinks(ThemeFooterLink&& value) { m_footerLinksHasBeenSet = true; m_footerLinks.push_back(std::move(value)); return *this; }
72
74
78 inline const Aws::String& GetTitleText() const{ return m_titleText; }
79 inline bool TitleTextHasBeenSet() const { return m_titleTextHasBeenSet; }
80 inline void SetTitleText(const Aws::String& value) { m_titleTextHasBeenSet = true; m_titleText = value; }
81 inline void SetTitleText(Aws::String&& value) { m_titleTextHasBeenSet = true; m_titleText = std::move(value); }
82 inline void SetTitleText(const char* value) { m_titleTextHasBeenSet = true; m_titleText.assign(value); }
83 inline UpdateThemeForStackRequest& WithTitleText(const Aws::String& value) { SetTitleText(value); return *this;}
84 inline UpdateThemeForStackRequest& WithTitleText(Aws::String&& value) { SetTitleText(std::move(value)); return *this;}
85 inline UpdateThemeForStackRequest& WithTitleText(const char* value) { SetTitleText(value); return *this;}
87
89
94 inline const ThemeStyling& GetThemeStyling() const{ return m_themeStyling; }
95 inline bool ThemeStylingHasBeenSet() const { return m_themeStylingHasBeenSet; }
96 inline void SetThemeStyling(const ThemeStyling& value) { m_themeStylingHasBeenSet = true; m_themeStyling = value; }
97 inline void SetThemeStyling(ThemeStyling&& value) { m_themeStylingHasBeenSet = true; m_themeStyling = std::move(value); }
98 inline UpdateThemeForStackRequest& WithThemeStyling(const ThemeStyling& value) { SetThemeStyling(value); return *this;}
99 inline UpdateThemeForStackRequest& WithThemeStyling(ThemeStyling&& value) { SetThemeStyling(std::move(value)); return *this;}
101
103
107 inline const S3Location& GetOrganizationLogoS3Location() const{ return m_organizationLogoS3Location; }
108 inline bool OrganizationLogoS3LocationHasBeenSet() const { return m_organizationLogoS3LocationHasBeenSet; }
109 inline void SetOrganizationLogoS3Location(const S3Location& value) { m_organizationLogoS3LocationHasBeenSet = true; m_organizationLogoS3Location = value; }
110 inline void SetOrganizationLogoS3Location(S3Location&& value) { m_organizationLogoS3LocationHasBeenSet = true; m_organizationLogoS3Location = std::move(value); }
114
116
122 inline const S3Location& GetFaviconS3Location() const{ return m_faviconS3Location; }
123 inline bool FaviconS3LocationHasBeenSet() const { return m_faviconS3LocationHasBeenSet; }
124 inline void SetFaviconS3Location(const S3Location& value) { m_faviconS3LocationHasBeenSet = true; m_faviconS3Location = value; }
125 inline void SetFaviconS3Location(S3Location&& value) { m_faviconS3LocationHasBeenSet = true; m_faviconS3Location = std::move(value); }
127 inline UpdateThemeForStackRequest& WithFaviconS3Location(S3Location&& value) { SetFaviconS3Location(std::move(value)); return *this;}
129
131
135 inline const ThemeState& GetState() const{ return m_state; }
136 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
137 inline void SetState(const ThemeState& value) { m_stateHasBeenSet = true; m_state = value; }
138 inline void SetState(ThemeState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
139 inline UpdateThemeForStackRequest& WithState(const ThemeState& value) { SetState(value); return *this;}
140 inline UpdateThemeForStackRequest& WithState(ThemeState&& value) { SetState(std::move(value)); return *this;}
142
144
147 inline const Aws::Vector<ThemeAttribute>& GetAttributesToDelete() const{ return m_attributesToDelete; }
148 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
149 inline void SetAttributesToDelete(const Aws::Vector<ThemeAttribute>& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = value; }
150 inline void SetAttributesToDelete(Aws::Vector<ThemeAttribute>&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::move(value); }
153 inline UpdateThemeForStackRequest& AddAttributesToDelete(const ThemeAttribute& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; }
154 inline UpdateThemeForStackRequest& AddAttributesToDelete(ThemeAttribute&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(std::move(value)); return *this; }
156 private:
157
158 Aws::String m_stackName;
159 bool m_stackNameHasBeenSet = false;
160
161 Aws::Vector<ThemeFooterLink> m_footerLinks;
162 bool m_footerLinksHasBeenSet = false;
163
164 Aws::String m_titleText;
165 bool m_titleTextHasBeenSet = false;
166
167 ThemeStyling m_themeStyling;
168 bool m_themeStylingHasBeenSet = false;
169
170 S3Location m_organizationLogoS3Location;
171 bool m_organizationLogoS3LocationHasBeenSet = false;
172
173 S3Location m_faviconS3Location;
174 bool m_faviconS3LocationHasBeenSet = false;
175
176 ThemeState m_state;
177 bool m_stateHasBeenSet = false;
178
179 Aws::Vector<ThemeAttribute> m_attributesToDelete;
180 bool m_attributesToDeleteHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace AppStream
185} // namespace Aws
UpdateThemeForStackRequest & WithTitleText(const char *value)
const Aws::Vector< ThemeAttribute > & GetAttributesToDelete() const
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< ThemeFooterLink > & GetFooterLinks() const
UpdateThemeForStackRequest & WithOrganizationLogoS3Location(S3Location &&value)
UpdateThemeForStackRequest & WithFaviconS3Location(S3Location &&value)
void SetAttributesToDelete(Aws::Vector< ThemeAttribute > &&value)
UpdateThemeForStackRequest & AddFooterLinks(const ThemeFooterLink &value)
UpdateThemeForStackRequest & WithThemeStyling(const ThemeStyling &value)
UpdateThemeForStackRequest & AddAttributesToDelete(const ThemeAttribute &value)
UpdateThemeForStackRequest & WithStackName(const Aws::String &value)
UpdateThemeForStackRequest & AddAttributesToDelete(ThemeAttribute &&value)
void SetFooterLinks(const Aws::Vector< ThemeFooterLink > &value)
void SetAttributesToDelete(const Aws::Vector< ThemeAttribute > &value)
UpdateThemeForStackRequest & WithFaviconS3Location(const S3Location &value)
UpdateThemeForStackRequest & WithFooterLinks(Aws::Vector< ThemeFooterLink > &&value)
UpdateThemeForStackRequest & WithAttributesToDelete(Aws::Vector< ThemeAttribute > &&value)
UpdateThemeForStackRequest & WithTitleText(const Aws::String &value)
void SetFooterLinks(Aws::Vector< ThemeFooterLink > &&value)
UpdateThemeForStackRequest & WithTitleText(Aws::String &&value)
UpdateThemeForStackRequest & WithState(const ThemeState &value)
UpdateThemeForStackRequest & WithFooterLinks(const Aws::Vector< ThemeFooterLink > &value)
UpdateThemeForStackRequest & AddFooterLinks(ThemeFooterLink &&value)
UpdateThemeForStackRequest & WithStackName(Aws::String &&value)
UpdateThemeForStackRequest & WithState(ThemeState &&value)
UpdateThemeForStackRequest & WithThemeStyling(ThemeStyling &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
UpdateThemeForStackRequest & WithStackName(const char *value)
UpdateThemeForStackRequest & WithOrganizationLogoS3Location(const S3Location &value)
UpdateThemeForStackRequest & WithAttributesToDelete(const Aws::Vector< ThemeAttribute > &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