AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
SharePointConnectionConfig.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace Assurance {
21namespace Model {
22
30 public:
31 AWS_ASSURANCE_API SharePointConnectionConfig() = default;
32 AWS_ASSURANCE_API SharePointConnectionConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API SharePointConnectionConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
42 inline const Aws::String& GetTenantId() const { return m_tenantId; }
43 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
44 template <typename TenantIdT = Aws::String>
45 void SetTenantId(TenantIdT&& value) {
46 m_tenantIdHasBeenSet = true;
47 m_tenantId = std::forward<TenantIdT>(value);
48 }
49 template <typename TenantIdT = Aws::String>
51 SetTenantId(std::forward<TenantIdT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::Vector<Aws::String>& GetSites() const { return m_sites; }
64 inline bool SitesHasBeenSet() const { return m_sitesHasBeenSet; }
65 template <typename SitesT = Aws::Vector<Aws::String>>
66 void SetSites(SitesT&& value) {
67 m_sitesHasBeenSet = true;
68 m_sites = std::forward<SitesT>(value);
69 }
70 template <typename SitesT = Aws::Vector<Aws::String>>
72 SetSites(std::forward<SitesT>(value));
73 return *this;
74 }
75 template <typename SitesT = Aws::String>
77 m_sitesHasBeenSet = true;
78 m_sites.emplace_back(std::forward<SitesT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_tenantId;
84
86 bool m_tenantIdHasBeenSet = false;
87 bool m_sitesHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Assurance
92} // namespace Aws
AWS_ASSURANCE_API SharePointConnectionConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SharePointConnectionConfig & WithTenantId(TenantIdT &&value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API SharePointConnectionConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SharePointConnectionConfig & WithSites(SitesT &&value)
AWS_ASSURANCE_API SharePointConnectionConfig()=default
SharePointConnectionConfig & AddSites(SitesT &&value)
const Aws::Vector< Aws::String > & GetSites() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector