AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAgentResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DataSync
24{
25namespace Model
26{
33 {
34 public:
35 AWS_DATASYNC_API CreateAgentResult();
38
39
41
47 inline const Aws::String& GetAgentArn() const{ return m_agentArn; }
48 inline void SetAgentArn(const Aws::String& value) { m_agentArn = value; }
49 inline void SetAgentArn(Aws::String&& value) { m_agentArn = std::move(value); }
50 inline void SetAgentArn(const char* value) { m_agentArn.assign(value); }
51 inline CreateAgentResult& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;}
52 inline CreateAgentResult& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;}
53 inline CreateAgentResult& WithAgentArn(const char* value) { SetAgentArn(value); return *this;}
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline CreateAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline CreateAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline CreateAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 Aws::String m_agentArn;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace DataSync
75} // namespace Aws
void SetAgentArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
CreateAgentResult & WithRequestId(const char *value)
CreateAgentResult & WithAgentArn(Aws::String &&value)
CreateAgentResult & WithRequestId(const Aws::String &value)
AWS_DATASYNC_API CreateAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATASYNC_API CreateAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAgentArn() const
CreateAgentResult & WithAgentArn(const char *value)
CreateAgentResult & WithRequestId(Aws::String &&value)
CreateAgentResult & WithAgentArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue