AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppStream
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPSTREAM_API ServiceAccountCredentials() = default;
38 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetAccountName() const { return m_accountName; }
49 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
50 template<typename AccountNameT = Aws::String>
51 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet = true; m_accountName = std::forward<AccountNameT>(value); }
52 template<typename AccountNameT = Aws::String>
53 ServiceAccountCredentials& WithAccountName(AccountNameT&& value) { SetAccountName(std::forward<AccountNameT>(value)); return *this;}
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) { m_accountPasswordHasBeenSet = true; m_accountPassword = std::forward<AccountPasswordT>(value); }
64 template<typename AccountPasswordT = Aws::String>
65 ServiceAccountCredentials& WithAccountPassword(AccountPasswordT&& value) { SetAccountPassword(std::forward<AccountPasswordT>(value)); return *this;}
67 private:
68
69 Aws::String m_accountName;
70 bool m_accountNameHasBeenSet = false;
71
72 Aws::String m_accountPassword;
73 bool m_accountPasswordHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppStream
78} // 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