AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; }
51 inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); }
52 inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); }
53 inline ServiceAccountCredentials& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;}
54 inline ServiceAccountCredentials& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;}
55 inline ServiceAccountCredentials& WithAccountName(const char* value) { SetAccountName(value); return *this;}
57
59
62 inline const Aws::String& GetAccountPassword() const{ return m_accountPassword; }
63 inline bool AccountPasswordHasBeenSet() const { return m_accountPasswordHasBeenSet; }
64 inline void SetAccountPassword(const Aws::String& value) { m_accountPasswordHasBeenSet = true; m_accountPassword = value; }
65 inline void SetAccountPassword(Aws::String&& value) { m_accountPasswordHasBeenSet = true; m_accountPassword = std::move(value); }
66 inline void SetAccountPassword(const char* value) { m_accountPasswordHasBeenSet = true; m_accountPassword.assign(value); }
67 inline ServiceAccountCredentials& WithAccountPassword(const Aws::String& value) { SetAccountPassword(value); return *this;}
68 inline ServiceAccountCredentials& WithAccountPassword(Aws::String&& value) { SetAccountPassword(std::move(value)); return *this;}
69 inline ServiceAccountCredentials& WithAccountPassword(const char* value) { SetAccountPassword(value); return *this;}
71 private:
72
73 Aws::String m_accountName;
74 bool m_accountNameHasBeenSet = false;
75
76 Aws::String m_accountPassword;
77 bool m_accountPasswordHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppStream
82} // namespace Aws
AWS_APPSTREAM_API ServiceAccountCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceAccountCredentials & WithAccountPassword(const char *value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceAccountCredentials & WithAccountName(Aws::String &&value)
ServiceAccountCredentials & WithAccountName(const Aws::String &value)
ServiceAccountCredentials & WithAccountPassword(const Aws::String &value)
ServiceAccountCredentials & WithAccountName(const char *value)
ServiceAccountCredentials & WithAccountPassword(Aws::String &&value)
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