AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
TrustStore.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WorkSpacesWeb {
21namespace Model {
22
34 public:
35 AWS_WORKSPACESWEB_API TrustStore() = default;
36 AWS_WORKSPACESWEB_API TrustStore(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WORKSPACESWEB_API TrustStore& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<Aws::String>& GetAssociatedPortalArns() const { return m_associatedPortalArns; }
45 inline bool AssociatedPortalArnsHasBeenSet() const { return m_associatedPortalArnsHasBeenSet; }
46 template <typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
47 void SetAssociatedPortalArns(AssociatedPortalArnsT&& value) {
48 m_associatedPortalArnsHasBeenSet = true;
49 m_associatedPortalArns = std::forward<AssociatedPortalArnsT>(value);
50 }
51 template <typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
52 TrustStore& WithAssociatedPortalArns(AssociatedPortalArnsT&& value) {
53 SetAssociatedPortalArns(std::forward<AssociatedPortalArnsT>(value));
54 return *this;
55 }
56 template <typename AssociatedPortalArnsT = Aws::String>
57 TrustStore& AddAssociatedPortalArns(AssociatedPortalArnsT&& value) {
58 m_associatedPortalArnsHasBeenSet = true;
59 m_associatedPortalArns.emplace_back(std::forward<AssociatedPortalArnsT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
69 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
70 template <typename TrustStoreArnT = Aws::String>
71 void SetTrustStoreArn(TrustStoreArnT&& value) {
72 m_trustStoreArnHasBeenSet = true;
73 m_trustStoreArn = std::forward<TrustStoreArnT>(value);
74 }
75 template <typename TrustStoreArnT = Aws::String>
76 TrustStore& WithTrustStoreArn(TrustStoreArnT&& value) {
77 SetTrustStoreArn(std::forward<TrustStoreArnT>(value));
78 return *this;
79 }
81 private:
82 Aws::Vector<Aws::String> m_associatedPortalArns;
83
84 Aws::String m_trustStoreArn;
85 bool m_associatedPortalArnsHasBeenSet = false;
86 bool m_trustStoreArnHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace WorkSpacesWeb
91} // namespace Aws
const Aws::String & GetTrustStoreArn() const
Definition TrustStore.h:68
const Aws::Vector< Aws::String > & GetAssociatedPortalArns() const
Definition TrustStore.h:44
TrustStore & WithAssociatedPortalArns(AssociatedPortalArnsT &&value)
Definition TrustStore.h:52
void SetTrustStoreArn(TrustStoreArnT &&value)
Definition TrustStore.h:71
void SetAssociatedPortalArns(AssociatedPortalArnsT &&value)
Definition TrustStore.h:47
AWS_WORKSPACESWEB_API TrustStore & operator=(Aws::Utils::Json::JsonView jsonValue)
TrustStore & WithTrustStoreArn(TrustStoreArnT &&value)
Definition TrustStore.h:76
AWS_WORKSPACESWEB_API TrustStore()=default
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
TrustStore & AddAssociatedPortalArns(AssociatedPortalArnsT &&value)
Definition TrustStore.h:57
AWS_WORKSPACESWEB_API TrustStore(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue