AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
SharePointConnectionDetails.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 SharePointConnectionDetails() = default;
32 AWS_ASSURANCE_API SharePointConnectionDetails(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API SharePointConnectionDetails& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
41 inline const Aws::String& GetTenantId() const { return m_tenantId; }
42 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
43 template <typename TenantIdT = Aws::String>
44 void SetTenantId(TenantIdT&& value) {
45 m_tenantIdHasBeenSet = true;
46 m_tenantId = std::forward<TenantIdT>(value);
47 }
48 template <typename TenantIdT = Aws::String>
50 SetTenantId(std::forward<TenantIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetSiteUrl() const { return m_siteUrl; }
61 inline bool SiteUrlHasBeenSet() const { return m_siteUrlHasBeenSet; }
62 template <typename SiteUrlT = Aws::String>
63 void SetSiteUrl(SiteUrlT&& value) {
64 m_siteUrlHasBeenSet = true;
65 m_siteUrl = std::forward<SiteUrlT>(value);
66 }
67 template <typename SiteUrlT = Aws::String>
69 SetSiteUrl(std::forward<SiteUrlT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetSites() const { return m_sites; }
79 inline bool SitesHasBeenSet() const { return m_sitesHasBeenSet; }
80 template <typename SitesT = Aws::Vector<Aws::String>>
81 void SetSites(SitesT&& value) {
82 m_sitesHasBeenSet = true;
83 m_sites = std::forward<SitesT>(value);
84 }
85 template <typename SitesT = Aws::Vector<Aws::String>>
87 SetSites(std::forward<SitesT>(value));
88 return *this;
89 }
90 template <typename SitesT = Aws::String>
92 m_sitesHasBeenSet = true;
93 m_sites.emplace_back(std::forward<SitesT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_tenantId;
99
100 Aws::String m_siteUrl;
101
103 bool m_tenantIdHasBeenSet = false;
104 bool m_siteUrlHasBeenSet = false;
105 bool m_sitesHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Assurance
110} // namespace Aws
SharePointConnectionDetails & WithSites(SitesT &&value)
AWS_ASSURANCE_API SharePointConnectionDetails & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Aws::String > & GetSites() const
SharePointConnectionDetails & WithTenantId(TenantIdT &&value)
SharePointConnectionDetails & WithSiteUrl(SiteUrlT &&value)
AWS_ASSURANCE_API SharePointConnectionDetails(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API SharePointConnectionDetails()=default
SharePointConnectionDetails & AddSites(SitesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector