AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
48 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
49 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
50 inline CreateThemeForStackRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
51 inline CreateThemeForStackRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
52 inline CreateThemeForStackRequest& WithStackName(const char* value) { SetStackName(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 inline void SetFooterLinks(const Aws::Vector<ThemeFooterLink>& value) { m_footerLinksHasBeenSet = true; m_footerLinks = value; }
64 inline void SetFooterLinks(Aws::Vector<ThemeFooterLink>&& value) { m_footerLinksHasBeenSet = true; m_footerLinks = std::move(value); }
67 inline CreateThemeForStackRequest& AddFooterLinks(const ThemeFooterLink& value) { m_footerLinksHasBeenSet = true; m_footerLinks.push_back(value); return *this; }
68 inline CreateThemeForStackRequest& AddFooterLinks(ThemeFooterLink&& value) { m_footerLinksHasBeenSet = true; m_footerLinks.push_back(std::move(value)); return *this; }
70
72
76 inline const Aws::String& GetTitleText() const{ return m_titleText; }
77 inline bool TitleTextHasBeenSet() const { return m_titleTextHasBeenSet; }
78 inline void SetTitleText(const Aws::String& value) { m_titleTextHasBeenSet = true; m_titleText = value; }
79 inline void SetTitleText(Aws::String&& value) { m_titleTextHasBeenSet = true; m_titleText = std::move(value); }
80 inline void SetTitleText(const char* value) { m_titleTextHasBeenSet = true; m_titleText.assign(value); }
81 inline CreateThemeForStackRequest& WithTitleText(const Aws::String& value) { SetTitleText(value); return *this;}
82 inline CreateThemeForStackRequest& WithTitleText(Aws::String&& value) { SetTitleText(std::move(value)); return *this;}
83 inline CreateThemeForStackRequest& WithTitleText(const char* value) { SetTitleText(value); return *this;}
85
87
92 inline const ThemeStyling& GetThemeStyling() const{ return m_themeStyling; }
93 inline bool ThemeStylingHasBeenSet() const { return m_themeStylingHasBeenSet; }
94 inline void SetThemeStyling(const ThemeStyling& value) { m_themeStylingHasBeenSet = true; m_themeStyling = value; }
95 inline void SetThemeStyling(ThemeStyling&& value) { m_themeStylingHasBeenSet = true; m_themeStyling = std::move(value); }
96 inline CreateThemeForStackRequest& WithThemeStyling(const ThemeStyling& value) { SetThemeStyling(value); return *this;}
97 inline CreateThemeForStackRequest& WithThemeStyling(ThemeStyling&& value) { SetThemeStyling(std::move(value)); return *this;}
99
101
105 inline const S3Location& GetOrganizationLogoS3Location() const{ return m_organizationLogoS3Location; }
106 inline bool OrganizationLogoS3LocationHasBeenSet() const { return m_organizationLogoS3LocationHasBeenSet; }
107 inline void SetOrganizationLogoS3Location(const S3Location& value) { m_organizationLogoS3LocationHasBeenSet = true; m_organizationLogoS3Location = value; }
108 inline void SetOrganizationLogoS3Location(S3Location&& value) { m_organizationLogoS3LocationHasBeenSet = true; m_organizationLogoS3Location = std::move(value); }
112
114
120 inline const S3Location& GetFaviconS3Location() const{ return m_faviconS3Location; }
121 inline bool FaviconS3LocationHasBeenSet() const { return m_faviconS3LocationHasBeenSet; }
122 inline void SetFaviconS3Location(const S3Location& value) { m_faviconS3LocationHasBeenSet = true; m_faviconS3Location = value; }
123 inline void SetFaviconS3Location(S3Location&& value) { m_faviconS3LocationHasBeenSet = true; m_faviconS3Location = std::move(value); }
125 inline CreateThemeForStackRequest& WithFaviconS3Location(S3Location&& value) { SetFaviconS3Location(std::move(value)); return *this;}
127 private:
128
129 Aws::String m_stackName;
130 bool m_stackNameHasBeenSet = false;
131
132 Aws::Vector<ThemeFooterLink> m_footerLinks;
133 bool m_footerLinksHasBeenSet = false;
134
135 Aws::String m_titleText;
136 bool m_titleTextHasBeenSet = false;
137
138 ThemeStyling m_themeStyling;
139 bool m_themeStylingHasBeenSet = false;
140
141 S3Location m_organizationLogoS3Location;
142 bool m_organizationLogoS3LocationHasBeenSet = false;
143
144 S3Location m_faviconS3Location;
145 bool m_faviconS3LocationHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace AppStream
150} // namespace Aws
const Aws::Vector< ThemeFooterLink > & GetFooterLinks() const
CreateThemeForStackRequest & WithOrganizationLogoS3Location(const S3Location &value)
CreateThemeForStackRequest & WithStackName(Aws::String &&value)
void SetFooterLinks(const Aws::Vector< ThemeFooterLink > &value)
CreateThemeForStackRequest & WithOrganizationLogoS3Location(S3Location &&value)
void SetFooterLinks(Aws::Vector< ThemeFooterLink > &&value)
CreateThemeForStackRequest & WithStackName(const char *value)
CreateThemeForStackRequest & WithStackName(const Aws::String &value)
CreateThemeForStackRequest & WithTitleText(const char *value)
CreateThemeForStackRequest & WithTitleText(Aws::String &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateThemeForStackRequest & WithFooterLinks(const Aws::Vector< ThemeFooterLink > &value)
virtual const char * GetServiceRequestName() const override
CreateThemeForStackRequest & WithFooterLinks(Aws::Vector< ThemeFooterLink > &&value)
CreateThemeForStackRequest & WithFaviconS3Location(const S3Location &value)
CreateThemeForStackRequest & WithThemeStyling(const ThemeStyling &value)
CreateThemeForStackRequest & WithFaviconS3Location(S3Location &&value)
CreateThemeForStackRequest & AddFooterLinks(ThemeFooterLink &&value)
CreateThemeForStackRequest & WithThemeStyling(ThemeStyling &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
CreateThemeForStackRequest & AddFooterLinks(const ThemeFooterLink &value)
CreateThemeForStackRequest & WithTitleText(const Aws::String &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