AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ServiceAccountCredentials.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppStream {
20namespace Model {
21
29 public:
30 AWS_APPSTREAM_API ServiceAccountCredentials() = default;
33 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetAccountName() const { return m_accountName; }
43 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
44 template <typename AccountNameT = Aws::String>
45 void SetAccountName(AccountNameT&& value) {
46 m_accountNameHasBeenSet = true;
47 m_accountName = std::forward<AccountNameT>(value);
48 }
49 template <typename AccountNameT = Aws::String>
51 SetAccountName(std::forward<AccountNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetAccountPassword() const { return m_accountPassword; }
61 inline bool AccountPasswordHasBeenSet() const { return m_accountPasswordHasBeenSet; }
62 template <typename AccountPasswordT = Aws::String>
63 void SetAccountPassword(AccountPasswordT&& value) {
64 m_accountPasswordHasBeenSet = true;
65 m_accountPassword = std::forward<AccountPasswordT>(value);
66 }
67 template <typename AccountPasswordT = Aws::String>
69 SetAccountPassword(std::forward<AccountPasswordT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_accountName;
75 bool m_accountNameHasBeenSet = false;
76
77 Aws::String m_accountPassword;
78 bool m_accountPasswordHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AppStream
83} // namespace Aws
AWS_APPSTREAM_API ServiceAccountCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceAccountCredentials & WithAccountPassword(AccountPasswordT &&value)
ServiceAccountCredentials & WithAccountName(AccountNameT &&value)
AWS_APPSTREAM_API ServiceAccountCredentials()=default
AWS_APPSTREAM_API ServiceAccountCredentials(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue