AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename StackNameT = Aws::String>
50 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
51 template<typename StackNameT = Aws::String>
52 UpdateThemeForStackRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
54
56
61 inline const Aws::Vector<ThemeFooterLink>& GetFooterLinks() const { return m_footerLinks; }
62 inline bool FooterLinksHasBeenSet() const { return m_footerLinksHasBeenSet; }
63 template<typename FooterLinksT = Aws::Vector<ThemeFooterLink>>
64 void SetFooterLinks(FooterLinksT&& value) { m_footerLinksHasBeenSet = true; m_footerLinks = std::forward<FooterLinksT>(value); }
65 template<typename FooterLinksT = Aws::Vector<ThemeFooterLink>>
66 UpdateThemeForStackRequest& WithFooterLinks(FooterLinksT&& value) { SetFooterLinks(std::forward<FooterLinksT>(value)); return *this;}
67 template<typename FooterLinksT = ThemeFooterLink>
68 UpdateThemeForStackRequest& AddFooterLinks(FooterLinksT&& value) { m_footerLinksHasBeenSet = true; m_footerLinks.emplace_back(std::forward<FooterLinksT>(value)); return *this; }
70
72
76 inline const Aws::String& GetTitleText() const { return m_titleText; }
77 inline bool TitleTextHasBeenSet() const { return m_titleTextHasBeenSet; }
78 template<typename TitleTextT = Aws::String>
79 void SetTitleText(TitleTextT&& value) { m_titleTextHasBeenSet = true; m_titleText = std::forward<TitleTextT>(value); }
80 template<typename TitleTextT = Aws::String>
81 UpdateThemeForStackRequest& WithTitleText(TitleTextT&& value) { SetTitleText(std::forward<TitleTextT>(value)); return *this;}
83
85
90 inline ThemeStyling GetThemeStyling() const { return m_themeStyling; }
91 inline bool ThemeStylingHasBeenSet() const { return m_themeStylingHasBeenSet; }
92 inline void SetThemeStyling(ThemeStyling value) { m_themeStylingHasBeenSet = true; m_themeStyling = value; }
95
97
101 inline const S3Location& GetOrganizationLogoS3Location() const { return m_organizationLogoS3Location; }
102 inline bool OrganizationLogoS3LocationHasBeenSet() const { return m_organizationLogoS3LocationHasBeenSet; }
103 template<typename OrganizationLogoS3LocationT = S3Location>
104 void SetOrganizationLogoS3Location(OrganizationLogoS3LocationT&& value) { m_organizationLogoS3LocationHasBeenSet = true; m_organizationLogoS3Location = std::forward<OrganizationLogoS3LocationT>(value); }
105 template<typename OrganizationLogoS3LocationT = S3Location>
106 UpdateThemeForStackRequest& WithOrganizationLogoS3Location(OrganizationLogoS3LocationT&& value) { SetOrganizationLogoS3Location(std::forward<OrganizationLogoS3LocationT>(value)); return *this;}
108
110
116 inline const S3Location& GetFaviconS3Location() const { return m_faviconS3Location; }
117 inline bool FaviconS3LocationHasBeenSet() const { return m_faviconS3LocationHasBeenSet; }
118 template<typename FaviconS3LocationT = S3Location>
119 void SetFaviconS3Location(FaviconS3LocationT&& value) { m_faviconS3LocationHasBeenSet = true; m_faviconS3Location = std::forward<FaviconS3LocationT>(value); }
120 template<typename FaviconS3LocationT = S3Location>
121 UpdateThemeForStackRequest& WithFaviconS3Location(FaviconS3LocationT&& value) { SetFaviconS3Location(std::forward<FaviconS3LocationT>(value)); return *this;}
123
125
129 inline ThemeState GetState() const { return m_state; }
130 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
131 inline void SetState(ThemeState value) { m_stateHasBeenSet = true; m_state = value; }
132 inline UpdateThemeForStackRequest& WithState(ThemeState value) { SetState(value); return *this;}
134
136
139 inline const Aws::Vector<ThemeAttribute>& GetAttributesToDelete() const { return m_attributesToDelete; }
140 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
141 template<typename AttributesToDeleteT = Aws::Vector<ThemeAttribute>>
142 void SetAttributesToDelete(AttributesToDeleteT&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::forward<AttributesToDeleteT>(value); }
143 template<typename AttributesToDeleteT = Aws::Vector<ThemeAttribute>>
144 UpdateThemeForStackRequest& WithAttributesToDelete(AttributesToDeleteT&& value) { SetAttributesToDelete(std::forward<AttributesToDeleteT>(value)); return *this;}
145 inline UpdateThemeForStackRequest& AddAttributesToDelete(ThemeAttribute value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; }
147 private:
148
149 Aws::String m_stackName;
150 bool m_stackNameHasBeenSet = false;
151
152 Aws::Vector<ThemeFooterLink> m_footerLinks;
153 bool m_footerLinksHasBeenSet = false;
154
155 Aws::String m_titleText;
156 bool m_titleTextHasBeenSet = false;
157
158 ThemeStyling m_themeStyling{ThemeStyling::NOT_SET};
159 bool m_themeStylingHasBeenSet = false;
160
161 S3Location m_organizationLogoS3Location;
162 bool m_organizationLogoS3LocationHasBeenSet = false;
163
164 S3Location m_faviconS3Location;
165 bool m_faviconS3LocationHasBeenSet = false;
166
168 bool m_stateHasBeenSet = false;
169
170 Aws::Vector<ThemeAttribute> m_attributesToDelete;
171 bool m_attributesToDeleteHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace AppStream
176} // namespace Aws
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
AWS_APPSTREAM_API UpdateThemeForStackRequest()=default
UpdateThemeForStackRequest & WithOrganizationLogoS3Location(OrganizationLogoS3LocationT &&value)
UpdateThemeForStackRequest & WithFaviconS3Location(FaviconS3LocationT &&value)
UpdateThemeForStackRequest & WithStackName(StackNameT &&value)
UpdateThemeForStackRequest & WithFooterLinks(FooterLinksT &&value)
UpdateThemeForStackRequest & WithState(ThemeState value)
UpdateThemeForStackRequest & AddAttributesToDelete(ThemeAttribute value)
UpdateThemeForStackRequest & AddFooterLinks(FooterLinksT &&value)
UpdateThemeForStackRequest & WithThemeStyling(ThemeStyling value)
UpdateThemeForStackRequest & WithAttributesToDelete(AttributesToDeleteT &&value)
UpdateThemeForStackRequest & WithTitleText(TitleTextT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
void SetOrganizationLogoS3Location(OrganizationLogoS3LocationT &&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