AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateJobRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace ImportExport
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37 
38  inline const Aws::String& GetJobId() const{ return m_jobId; }
39 
40 
41  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
42 
43 
44  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
45 
46 
47  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
48 
49 
50  inline UpdateJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 
52 
53  inline UpdateJobRequest& WithJobId(Aws::String&& value) { SetJobId(value); return *this;}
54 
55 
56  inline UpdateJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
57 
58 
59  inline const Aws::String& GetManifest() const{ return m_manifest; }
60 
61 
62  inline void SetManifest(const Aws::String& value) { m_manifestHasBeenSet = true; m_manifest = value; }
63 
64 
65  inline void SetManifest(Aws::String&& value) { m_manifestHasBeenSet = true; m_manifest = value; }
66 
67 
68  inline void SetManifest(const char* value) { m_manifestHasBeenSet = true; m_manifest.assign(value); }
69 
70 
71  inline UpdateJobRequest& WithManifest(const Aws::String& value) { SetManifest(value); return *this;}
72 
73 
74  inline UpdateJobRequest& WithManifest(Aws::String&& value) { SetManifest(value); return *this;}
75 
76 
77  inline UpdateJobRequest& WithManifest(const char* value) { SetManifest(value); return *this;}
78 
79 
80  inline const JobType& GetJobType() const{ return m_jobType; }
81 
82 
83  inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
84 
85 
86  inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
87 
88 
89  inline UpdateJobRequest& WithJobType(const JobType& value) { SetJobType(value); return *this;}
90 
91 
92  inline UpdateJobRequest& WithJobType(JobType&& value) { SetJobType(value); return *this;}
93 
94 
95  inline bool GetValidateOnly() const{ return m_validateOnly; }
96 
97 
98  inline void SetValidateOnly(bool value) { m_validateOnlyHasBeenSet = true; m_validateOnly = value; }
99 
100 
101  inline UpdateJobRequest& WithValidateOnly(bool value) { SetValidateOnly(value); return *this;}
102 
103 
104  inline const Aws::String& GetAPIVersion() const{ return m_aPIVersion; }
105 
106 
107  inline void SetAPIVersion(const Aws::String& value) { m_aPIVersionHasBeenSet = true; m_aPIVersion = value; }
108 
109 
110  inline void SetAPIVersion(Aws::String&& value) { m_aPIVersionHasBeenSet = true; m_aPIVersion = value; }
111 
112 
113  inline void SetAPIVersion(const char* value) { m_aPIVersionHasBeenSet = true; m_aPIVersion.assign(value); }
114 
115 
116  inline UpdateJobRequest& WithAPIVersion(const Aws::String& value) { SetAPIVersion(value); return *this;}
117 
118 
119  inline UpdateJobRequest& WithAPIVersion(Aws::String&& value) { SetAPIVersion(value); return *this;}
120 
121 
122  inline UpdateJobRequest& WithAPIVersion(const char* value) { SetAPIVersion(value); return *this;}
123 
124  private:
125  Aws::String m_jobId;
126  bool m_jobIdHasBeenSet;
127  Aws::String m_manifest;
128  bool m_manifestHasBeenSet;
129  JobType m_jobType;
130  bool m_jobTypeHasBeenSet;
131  bool m_validateOnly;
132  bool m_validateOnlyHasBeenSet;
133  Aws::String m_aPIVersion;
134  bool m_aPIVersionHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace ImportExport
139 } // namespace Aws
UpdateJobRequest & WithJobType(const JobType &value)
UpdateJobRequest & WithJobId(const char *value)
const Aws::String & GetAPIVersion() const
UpdateJobRequest & WithAPIVersion(const char *value)
UpdateJobRequest & WithManifest(const Aws::String &value)
UpdateJobRequest & WithJobId(const Aws::String &value)
UpdateJobRequest & WithManifest(const char *value)
const Aws::String & GetManifest() const
UpdateJobRequest & WithJobId(Aws::String &&value)
void SetAPIVersion(const Aws::String &value)
UpdateJobRequest & WithJobType(JobType &&value)
UpdateJobRequest & WithAPIVersion(Aws::String &&value)
UpdateJobRequest & WithValidateOnly(bool value)
const Aws::String & GetJobId() const
void SetManifest(const Aws::String &value)
UpdateJobRequest & WithAPIVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateJobRequest & WithManifest(Aws::String &&value)
void SetJobId(const Aws::String &value)
#define AWS_IMPORTEXPORT_API
JSON (JavaScript Object Notation).