AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCustomerMetadataResult.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/model/NniPartnerType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/directconnect/model/CustomerAgreement.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DirectConnect
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DIRECTCONNECT_API DescribeCustomerMetadataResult();
36
37
39
42 inline const Aws::Vector<CustomerAgreement>& GetAgreements() const{ return m_agreements; }
43 inline void SetAgreements(const Aws::Vector<CustomerAgreement>& value) { m_agreements = value; }
44 inline void SetAgreements(Aws::Vector<CustomerAgreement>&& value) { m_agreements = std::move(value); }
47 inline DescribeCustomerMetadataResult& AddAgreements(const CustomerAgreement& value) { m_agreements.push_back(value); return *this; }
48 inline DescribeCustomerMetadataResult& AddAgreements(CustomerAgreement&& value) { m_agreements.push_back(std::move(value)); return *this; }
50
52
60 inline const NniPartnerType& GetNniPartnerType() const{ return m_nniPartnerType; }
61 inline void SetNniPartnerType(const NniPartnerType& value) { m_nniPartnerType = value; }
62 inline void SetNniPartnerType(NniPartnerType&& value) { m_nniPartnerType = std::move(value); }
64 inline DescribeCustomerMetadataResult& WithNniPartnerType(NniPartnerType&& value) { SetNniPartnerType(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline DescribeCustomerMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline DescribeCustomerMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline DescribeCustomerMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
80
81 NniPartnerType m_nniPartnerType;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace DirectConnect
88} // namespace Aws
DescribeCustomerMetadataResult & AddAgreements(CustomerAgreement &&value)
AWS_DIRECTCONNECT_API DescribeCustomerMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomerMetadataResult & WithNniPartnerType(const NniPartnerType &value)
DescribeCustomerMetadataResult & WithNniPartnerType(NniPartnerType &&value)
DescribeCustomerMetadataResult & WithRequestId(const char *value)
const Aws::Vector< CustomerAgreement > & GetAgreements() const
AWS_DIRECTCONNECT_API DescribeCustomerMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomerMetadataResult & WithAgreements(const Aws::Vector< CustomerAgreement > &value)
DescribeCustomerMetadataResult & WithAgreements(Aws::Vector< CustomerAgreement > &&value)
DescribeCustomerMetadataResult & WithRequestId(const Aws::String &value)
DescribeCustomerMetadataResult & WithRequestId(Aws::String &&value)
DescribeCustomerMetadataResult & AddAgreements(const CustomerAgreement &value)
void SetAgreements(const Aws::Vector< CustomerAgreement > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue