AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
38
39
41
47 inline const Aws::String& GetAgentArn() const { return m_agentArn; }
48 template<typename AgentArnT = Aws::String>
49 void SetAgentArn(AgentArnT&& value) { m_agentArnHasBeenSet = true; m_agentArn = std::forward<AgentArnT>(value); }
50 template<typename AgentArnT = Aws::String>
51 CreateAgentResult& WithAgentArn(AgentArnT&& value) { SetAgentArn(std::forward<AgentArnT>(value)); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const { return m_requestId; }
57 template<typename RequestIdT = Aws::String>
58 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
59 template<typename RequestIdT = Aws::String>
60 CreateAgentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
62 private:
63
64 Aws::String m_agentArn;
65 bool m_agentArnHasBeenSet = false;
66
67 Aws::String m_requestId;
68 bool m_requestIdHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DataSync
73} // namespace Aws
CreateAgentResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
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
AWS_DATASYNC_API CreateAgentResult()=default
CreateAgentResult & WithAgentArn(AgentArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue