AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeChapCredentialsResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/storagegateway/model/ChapInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace StorageGateway
26{
27namespace Model
28{
35 {
36 public:
37 AWS_STORAGEGATEWAY_API DescribeChapCredentialsResult();
40
41
43
57 inline const Aws::Vector<ChapInfo>& GetChapCredentials() const{ return m_chapCredentials; }
58 inline void SetChapCredentials(const Aws::Vector<ChapInfo>& value) { m_chapCredentials = value; }
59 inline void SetChapCredentials(Aws::Vector<ChapInfo>&& value) { m_chapCredentials = std::move(value); }
62 inline DescribeChapCredentialsResult& AddChapCredentials(const ChapInfo& value) { m_chapCredentials.push_back(value); return *this; }
63 inline DescribeChapCredentialsResult& AddChapCredentials(ChapInfo&& value) { m_chapCredentials.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline DescribeChapCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline DescribeChapCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline DescribeChapCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::Vector<ChapInfo> m_chapCredentials;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace StorageGateway
85} // namespace Aws
DescribeChapCredentialsResult & WithRequestId(const char *value)
DescribeChapCredentialsResult & WithChapCredentials(const Aws::Vector< ChapInfo > &value)
DescribeChapCredentialsResult & AddChapCredentials(const ChapInfo &value)
DescribeChapCredentialsResult & WithRequestId(const Aws::String &value)
DescribeChapCredentialsResult & AddChapCredentials(ChapInfo &&value)
AWS_STORAGEGATEWAY_API DescribeChapCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeChapCredentialsResult & WithRequestId(Aws::String &&value)
DescribeChapCredentialsResult & WithChapCredentials(Aws::Vector< ChapInfo > &&value)
AWS_STORAGEGATEWAY_API DescribeChapCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue