AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateAutomaticTapeCreationPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
37 
38 
39  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
40 
41 
42  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
43 
44 
45  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
46 
47 
48  inline UpdateAutomaticTapeCreationPolicyResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
49 
50 
51  inline UpdateAutomaticTapeCreationPolicyResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
52 
53 
54  inline UpdateAutomaticTapeCreationPolicyResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
55 
56  private:
57 
58  Aws::String m_gatewayARN;
59  };
60 
61 } // namespace Model
62 } // namespace StorageGateway
63 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateAutomaticTapeCreationPolicyResult.h:39
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateAutomaticTapeCreationPolicyResult.h:42
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateAutomaticTapeCreationPolicyResult.h:45
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::WithGatewayARN
UpdateAutomaticTapeCreationPolicyResult & WithGatewayARN(Aws::String &&value)
Definition: UpdateAutomaticTapeCreationPolicyResult.h:51
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::UpdateAutomaticTapeCreationPolicyResult
UpdateAutomaticTapeCreationPolicyResult()
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::WithGatewayARN
UpdateAutomaticTapeCreationPolicyResult & WithGatewayARN(const Aws::String &value)
Definition: UpdateAutomaticTapeCreationPolicyResult.h:48
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateAutomaticTapeCreationPolicyResult.h:36
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::WithGatewayARN
UpdateAutomaticTapeCreationPolicyResult & WithGatewayARN(const char *value)
Definition: UpdateAutomaticTapeCreationPolicyResult.h:54
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult
Definition: UpdateAutomaticTapeCreationPolicyResult.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::operator=
UpdateAutomaticTapeCreationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::UpdateAutomaticTapeCreationPolicyResult::UpdateAutomaticTapeCreationPolicyResult
UpdateAutomaticTapeCreationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)