AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateThemeForStackRequest.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/ThemeFooterLink.h>
14#include <utility>
15
16namespace Aws
17{
18namespace AppStream
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPSTREAM_API CreateThemeForStackRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateThemeForStack"; }
35
36 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetStackName() const { return m_stackName; }
46 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
47 template<typename StackNameT = Aws::String>
48 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
49 template<typename StackNameT = Aws::String>
50 CreateThemeForStackRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
52
54
59 inline const Aws::Vector<ThemeFooterLink>& GetFooterLinks() const { return m_footerLinks; }
60 inline bool FooterLinksHasBeenSet() const { return m_footerLinksHasBeenSet; }
61 template<typename FooterLinksT = Aws::Vector<ThemeFooterLink>>
62 void SetFooterLinks(FooterLinksT&& value) { m_footerLinksHasBeenSet = true; m_footerLinks = std::forward<FooterLinksT>(value); }
63 template<typename FooterLinksT = Aws::Vector<ThemeFooterLink>>
64 CreateThemeForStackRequest& WithFooterLinks(FooterLinksT&& value) { SetFooterLinks(std::forward<FooterLinksT>(value)); return *this;}
65 template<typename FooterLinksT = ThemeFooterLink>
66 CreateThemeForStackRequest& AddFooterLinks(FooterLinksT&& value) { m_footerLinksHasBeenSet = true; m_footerLinks.emplace_back(std::forward<FooterLinksT>(value)); return *this; }
68
70
74 inline const Aws::String& GetTitleText() const { return m_titleText; }
75 inline bool TitleTextHasBeenSet() const { return m_titleTextHasBeenSet; }
76 template<typename TitleTextT = Aws::String>
77 void SetTitleText(TitleTextT&& value) { m_titleTextHasBeenSet = true; m_titleText = std::forward<TitleTextT>(value); }
78 template<typename TitleTextT = Aws::String>
79 CreateThemeForStackRequest& WithTitleText(TitleTextT&& value) { SetTitleText(std::forward<TitleTextT>(value)); return *this;}
81
83
88 inline ThemeStyling GetThemeStyling() const { return m_themeStyling; }
89 inline bool ThemeStylingHasBeenSet() const { return m_themeStylingHasBeenSet; }
90 inline void SetThemeStyling(ThemeStyling value) { m_themeStylingHasBeenSet = true; m_themeStyling = value; }
93
95
99 inline const S3Location& GetOrganizationLogoS3Location() const { return m_organizationLogoS3Location; }
100 inline bool OrganizationLogoS3LocationHasBeenSet() const { return m_organizationLogoS3LocationHasBeenSet; }
101 template<typename OrganizationLogoS3LocationT = S3Location>
102 void SetOrganizationLogoS3Location(OrganizationLogoS3LocationT&& value) { m_organizationLogoS3LocationHasBeenSet = true; m_organizationLogoS3Location = std::forward<OrganizationLogoS3LocationT>(value); }
103 template<typename OrganizationLogoS3LocationT = S3Location>
104 CreateThemeForStackRequest& WithOrganizationLogoS3Location(OrganizationLogoS3LocationT&& value) { SetOrganizationLogoS3Location(std::forward<OrganizationLogoS3LocationT>(value)); return *this;}
106
108
114 inline const S3Location& GetFaviconS3Location() const { return m_faviconS3Location; }
115 inline bool FaviconS3LocationHasBeenSet() const { return m_faviconS3LocationHasBeenSet; }
116 template<typename FaviconS3LocationT = S3Location>
117 void SetFaviconS3Location(FaviconS3LocationT&& value) { m_faviconS3LocationHasBeenSet = true; m_faviconS3Location = std::forward<FaviconS3LocationT>(value); }
118 template<typename FaviconS3LocationT = S3Location>
119 CreateThemeForStackRequest& WithFaviconS3Location(FaviconS3LocationT&& value) { SetFaviconS3Location(std::forward<FaviconS3LocationT>(value)); return *this;}
121 private:
122
123 Aws::String m_stackName;
124 bool m_stackNameHasBeenSet = false;
125
126 Aws::Vector<ThemeFooterLink> m_footerLinks;
127 bool m_footerLinksHasBeenSet = false;
128
129 Aws::String m_titleText;
130 bool m_titleTextHasBeenSet = false;
131
132 ThemeStyling m_themeStyling{ThemeStyling::NOT_SET};
133 bool m_themeStylingHasBeenSet = false;
134
135 S3Location m_organizationLogoS3Location;
136 bool m_organizationLogoS3LocationHasBeenSet = false;
137
138 S3Location m_faviconS3Location;
139 bool m_faviconS3LocationHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace AppStream
144} // namespace Aws
const Aws::Vector< ThemeFooterLink > & GetFooterLinks() const
CreateThemeForStackRequest & WithOrganizationLogoS3Location(OrganizationLogoS3LocationT &&value)
CreateThemeForStackRequest & WithFaviconS3Location(FaviconS3LocationT &&value)
void SetOrganizationLogoS3Location(OrganizationLogoS3LocationT &&value)
CreateThemeForStackRequest & WithFooterLinks(FooterLinksT &&value)
CreateThemeForStackRequest & WithStackName(StackNameT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_APPSTREAM_API CreateThemeForStackRequest()=default
CreateThemeForStackRequest & WithTitleText(TitleTextT &&value)
CreateThemeForStackRequest & AddFooterLinks(FooterLinksT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
CreateThemeForStackRequest & WithThemeStyling(ThemeStyling 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